Contents  Index  
──────────────────────────────────────────────────────────────────────────────
Return the lower and upper bound (smallest or largest available subscript)
for the specified array dimension.

LBOUND(array[,dimension%])
UBOUND(array[,dimension%])array         The name of the array.
    ■ 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.

Example:
    DIM a%(1 TO 3, 2 TO 7)
    PRINT LBOUND(a%, 1), UBOUND(a%, 2)

See Also    DIM, REDIM
──────────────────────────────────────────────────────────────────────────────
 © Copyright Microsoft Corporation, 1987-1992. All rights reserved.
   Converted from qbasic.hlp with DosHelp/HelpConvert