dimensioned array

dimensioned array


arithmetic expressions Index Level dynamic array
Syntax
Category BASIC
Type Definition
Description a table where the contents of the elements can be altered (replaced) but the position of each element is fixed.  In other words, new elements cannot be inserted and existing elements cannot be deleted.

Any alteration of elements in a "dimensioned" array does not directly affect the other elements of the array. Again, each element is a separate variable. In contrast, "dynamic arrays" are strings contained in single variables. Any change to the array requires that the entire string be rebuilt.

Since any element in a "dimensioned array" can be a string variable, and any string can be treated as a dynamic array, a "dimensioned array" can be an array of "dynamic arrays". For example:

print rec(7)<1,vmc>
Options
See Also DIM dynamic array array references MATWRITE MATREAD MATBUILD MATPARSE assignment EXTRACT ( ) array.variable
Example
Warnings
Compatibility D3 7.0 AP R83
arithmetic expressions Index Level dynamic array