AdjustArray
Deprecated. Do not use in new code.
(Engine-Level Function)
Description: | Changes the array information for a variable. |
Warning: | This function removes existing information from the array. |
Returns: | Nothing |
Usage: | Script Only. |
Function Groups: | Array, Compilation and On-Line Modifications |
Related to: | ArrayOp1 | ArrayOp2 | New |
Format: | AdjustArray(Variable, NumDimensions, Start, Size) |
Parameters: |
Variable |
Required. Variable is any expression for the array to adjust. |
NumDimensions |
Required. Any numeric expression that gives the number of dimensions for the variable's multidimensional array. |
Start |
Required. Can be either a numeric expression or an array specifying the start for each of the dimensions. If Start is a numeric expression, each of the dimensions will start at that value. If Start is an array, then the Nth element in the array will correspond to the start of the Nth dimension (i.e. dimension 2 will start at start[2] ). |
Size |
Required. Can be either a numeric expression or an array specifying the size of each of the dimensions. If Size is a numeric expression, each of the dimensions will be the size of that value. If Size is an array, then the Nth element in the array will correspond to the size of the Nth dimension (i.e. dimension 2 will have a size of Size[2] ). |
Comments: |
Will work only with static arrays. |