bas7qck.hlp (Table of Contents; Topic list)
UBOUND Function
  Syntax  Details  Example                 Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
UBOUND(array[,dimension%])
 
    ■ array        The name of the array variable to be tested.
    ■ dimension%   An integer ranging from 1 to the number of dimensions
                   in array; indicates which dimension's upper bound is
                   to be returned. Use 1 for the first dimension, 2 for
                   the second dimension, etc. This argument is optional for
                   one-dimensional arrays.
 
Returns
    The upper bound (largest available subscript) for the indicated
    dimension of an array.
 
See Also    LBOUND    OPTION BASE    DIM