uBound()

Returns the upper bound of an array's index.


Syntax:
variable = uBound( array[] , index )

Example:
dim a$[10 to 20,15]
prints ( uBound( a$[], 1 ) )
prints ( uBound( a$[], 2 ) )
waitKey

See also lBound() command.