August 1999
Intermediate to advanced
1488 pages
72h 53m
English
vbarray.dimensions()
The dimensions() method of an instance of a VBArray returns the number of dimensions of the array.
Listing 9.138 calls a VBScript function from a JavaScript new operator to create a Visual Basic safe array. The array itself writes the contents of this two-dimensional array to the user's page. An alert box is also invoked that contains the number of dimensions the array contains.
<script LANGUAGE="VBScript"> <!-- Hide ' Define the VB Array Function myVBArray() ' Define variables for 2-D array positioning Dim i Dim j ' Define variable to hold incremented values to put into ' array and assign ... |
Read now
Unlock full access