NAME
LBOUND, UBOUND Functions
SYNOPSIS
LBOUND(array[,dimension%])
UBOUND(array[,dimension%])
o array The name of the array.
o dimension% Indicates the array dimension whose lower or upper
bound is returned. Use 1 for the first dimension, 2
for the second dimension, etc. The default is 1.
DESCRIPTION
Return the lower and upper bound (smallest or largest available subscript)
for the specified array dimension.
Example:
DIM a%(1 TO 3, 2 TO 7)
PRINT LBOUND(a%, 1), UBOUND(a%, 2)
SEE ALSO
DIM REDIM