# BOUND()

Compatible with:
DOS Maximite CMM MM150 MM170 MM+ MMX Picromite ArmiteL4 Armite F4 ArmiteH7 Picomite CMM2

Syntax:
BOUND(array() [,dimension]

Description:
This returns the upper limit of the array for the dimension requested.
The dimension defaults to one if not specified.
Specifying a dimension value of 0 will return the current value of OPTION BASE.
Unused dimensions will return a value of zero.

For example:

DIM myarray(44,45)
PRINT BOUND(myarray(),2)
Output:
45

Last edited: 25 February, 2021