ArrayStart

Description:              This function returns the first element in an array dimension

Returns:                    Numeric

Usage:                       Script or Steady State

Format:                      ArrayStart(Array, Dimension)

Parameters:             Array   { array }  { required }  { no default: }

                                                Any array variable.

                                    Dimension   { numeric }  { required }  { no default: }

                                                Any numeric expression that gives the array dimension to measure starting at 0.

Comments:               The ArrayStart function is useful for writing intelligent parameterized modules. The module can determine the first index in an array that is passed to it.

Example:

q[1, 10][2, 20];

...

start = ArrayStart(Q, 1);

Start will receive the value 2.

See Also:

ArrayDimensions | ArraySize| Array Functions