|
Returns the highest index value used in the specified dimension of the VBArray.
safeArray.ubound(dimension)
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.
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 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.