bas7qck.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
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