7.26.5 ubound Method

Returns the highest index value used in the specified dimension of the VBArray.
Syntax
safeArray.ubound(dimension)
Arguments
- safeArray
- A VBArray object. Required.
- dimension
- The dimension of the VBArray object for which the higher bound index is wanted. If omitted, ubound behaves as if a 1 was passed. Optional.
Remarks
If the VBArray object is empty, the ubound method returns undefined. If dimension is greater than the number of dimensions in the VBArray object, or is negative, the method generates a "Subscript out of range" error.
Copyright © 2000 Chili!Soft
|