LBound function (LotusScript® Language)

Returns the lower bound for one dimension of an array.

Syntax

LBound ( arrayName [ , dimension ] )

Elements

arrayName

The name of an array

dimension

Optional. An integer argument that specifies the array dimension; the default is 1.

Return value

The LBound function returns an Integer.

Usage

The default value for dimension is 1.

LotusScript® sets the lower bound for each array dimension when you declare a fixed array or define the dimensions of a dynamic array with a ReDim statement.

The default lower bound for an array dimension is 0 or 1, depending on the Option Base setting.

Example