DIMS() Function


For this topic's original documentation, see the DIMS() Function.

BBj-Specific Information

Number of Dimensions

Returned by the DIMS() Function

1, 2 or 3

25-character string formatted the same as in PRO/5.

4 or more

25-character string formatted the same as in PRO/5, plus 8 characters for each dimension greater than 3, in the following format:

"dimnelem:I(4),dimnbase:I(4)"

For example, the returned string for a 6-dimension array would contain 49 bytes and would be formatted as follows:

"dimensions:i(1),
dim0elem:i(4),
dim0base:i(4),
dim1elem:i(4).
dim1base:i(4),
dim2elem:i(4),
dim2base:i(4),
dim3elem:i(4),
dim3base:i(4),
dim4elem:i(4),
dim4base:i(4),
dim5elem:i(4),
dim5base:i(4)"

See Also

Functions - Alphabetical Listing