Returns the upper bound for one dimension of an array.
UBound ( arrayName [ , dimension ] )
arrayName
The name of an array.
dimension
Optional. An integer argument that specifies the array dimension for which you want to retrieve the upper bound.
UBound returns an Integer.
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.