CalcIt Commands

ARR(ArrSize=0,ReserveSpace=500)

Returns an array with ArrSize elements. Is used to initialize array variables with a specific number of elements. ArrSize is optional. If omitted 0 is assumed. ReservSpace parameter configures the space will be reserved by the array in case more elements has to be added. See more at Fine tuning Dynamic arrays. Also optional. If omitted then the default reserve space will be used, of 500 elements.

Examples:

set a=arr;        //make a an empty array;
set a=arr(100);  
//make a contain 100 elements;
set a=arr(10,30);
//makes a contain 10 elements and increase by 30 reserved space elements

Go Back