Arrays

You can declare arrays for internal variables by specifying dimension(s).

To declare an array, enter the number of elements in the Dim. column on the Variables tab.

See Create Variables for the procedure.

Declare an Array for an Internal Variable

For a multi-dimensional array (arrays have a maximum of three dimensions), enter the number of elements for each dimension separated by commas:

  • Using 2,10,4 as the 3D array:
    • The first dimension has 2 elements.
    • The second dimension has 10 elements.
    • The third dimension has 4 elements.

Arrays are accessed by variable indices.

myArray[myIndex1, myIndex2]

  • All indexes are 0 based.
    Example: In a single dimension array, the first element is always identified by ArrayName[0].