Limits on array variables in LotusScript®

The following table lists limits on representation of data by array variables.

Item

Maximum or range

Array storage size

Limited by available memory

Number of dimensions

8

Bounds of a dimension

-32,768 to 32,767 (the range of values of the Integer data type)

Number of elements

Determined by memory available for data, and by the storage size of each element of the array, which varies with the array data type. For example, a Long one-dimensional fixed array declared in type scope can have 16,128 elements. (The total storage size available for fixed-size data in module scope is 64K bytes, and a Long element requires 4 bytes for storage.)