Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

JScript VBArray Object ubound Method

Returns the highest index value used in the specified dimension of the VBArray.

Syntax: JScript VBArray Object ubound Method

safeArray.ubound(dimension)

Arguments: JScript VBArray Object ubound Method

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: JScript VBArray Object ubound Method

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.