UBOUND - a memory function that returns the upper bound (largest
available subscript) for the indicated dimension of an array
Syntax
UBOUND(array[,dimension])
- array identifies the array
- dimension, an numeric-expression that has an integer value, indicates
the dimension of the array for which you want to see the smallest
available subscript. Use 1 for the first dimension, 2 for the second
dimension, etc. This is an optional argument for one-dimensional
arrays.
See Also