August 1999
Intermediate to advanced
1488 pages
72h 53m
English
vbarray.lbound(dimension) vbarray.lbound()
The lbound() method of an instance of a VBArray returns the lowest index value in the dimension passed. If no dimension is passed, then the method defaults to using 1.
Listing 9.140 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 lowest 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 ... |
Read now
Unlock full access