Lotus Software logo
IBM Lotus Domino Designer 8.5
  Versions 8.5 and 8.5.1






UBound function

Returns the upper bound for one dimension of an array.

Syntax

UBound ( arrayName [ , dimension ] )

Elements

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.

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.

See examples

Examples: UBound function
Related topics
LotusScript Language Reference: U through Z
IsArray function
LBound function
Option Base statement




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009