LOTUSSCRIPT LANGUAGE


UBound function
Example

Returns the upper bound for one dimension of an array.

Syntax

UBound ( arrayName [ , dimension ] )

Elements

arrayName


dimension
Return value

UBound returns an Integer.

Usage

The default value for dimension is 1.

LotusScript sets the upper bound for each array dimension when you declare a fixed array, or when you use ReDim to define the array dimensions of a dynamic array.

Example
See Also