<html>
<script LANGUAGE="VBScript">
<!--
Function myVBArray()
Dim i
Dim j
Dim k
k = 1
Dim myArray(1, 1)
For i = 0 To 1
For j = 0 To 1
myArray(j, i) = k
document.writeln(k)
k = k + 1
Next
document.writeln("<hr>")
Next
myVBArray = myArray
End Function
' End Hide -->
</script>
<script language="JScript">
<!--
var myArray = new VBArray(myVBArray());
alert(myArray.dimensions());
-->
</script>
</html>
|