VBArray.toArray() (Method)

A conversion method for creating a JScript array object from a VBArray object.

Availability:

JScript - 3.0
Internet Explorer - 4.0
Property/method value type:Array object
JavaScript syntax:IEmyVBArray.toArray()

You can convert an entire Visual Basic array to a JScript array. It is possible some data will get lost along the way but simple data formats should survive the translation.

Multi-dimensional arrays consume a great deal more memory than you anticipate. The compounded effect of adding each dimension usually increases storage by at least an order of magnitude each time.

See also:Array object