HTBasic Help
×
Menu
Index
Array
 
An array is a multi-dimensional ordered set of values. Each member of the set is called an array element. All the members of the set have the same simple data type which can be integer, long, real, complex or string. The dimension of the set is called the RANK of the array. Arrays may have a rank from one to six.
 
Local array variables are declared using INTEGER, LONG, REAL, COMPLEX, DIM and STATIC. ALLOCATE can be used to dynamically declare an array. COM can be used to declare a global array. Consult these entries in the Reference Manual to learn how to declare array variables. OPTION BASE is available to change the default lower bound for indices.