Microsoft JScript
VBArray Object
Language Reference
Version 3

See Also Methods Properties


Description
Provides access to Visual Basic safe arrays.
Syntax
new VBArray(safeArray)

The safeArray is a VBArray value.

Remarks
VBArrays are read-only, and cannot be created directly. The safeArray argument must have obtained a VBArray value before being passed to the VBArray constructor. This can only be done by retrieving the value from an existing ActiveX or other object.

VBArrays can have multiple dimensions. The indices of each dimension can be different. The dimensions method retrieves the number of dimensions in the array; the lbound and ubound methods retrieve the range of indices used by each dimension.


Comments