August 1999
Intermediate to advanced
1488 pages
72h 53m
English
vbarray.ubound(dimension)
The ubound() method of an instance of a VBArray returns the highest index value in the dimension passed.
Listing 9.142 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 highest index number used in the second dimension.
<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 it an initial ... |
Read now
Unlock full access