Previous Topic

Next Topic

UBound - MaxBasic Function

UBound (Arrayname: String): Number

Returns a number containing the largest available subscript for the dimension of an array or JSON array.

The UBound function is used with the LBound function to determine the size of an array. Use the LBound function to find the lower limit of an array dimension.

UBound function syntax has these named arguments:

Parameter

Description

Array Name

Required. Name of the array variable; follows standard variable naming conventions.

See Also

Array Functions

Book Contents

Book Index