syntax for multi-dimensional array?

Results 1 to 2 of 2

Thread: syntax for multi-dimensional array?

  1. #1
    Join Date
    Dec 1969

    Default syntax for multi-dimensional array?

    hi all<BR><BR>if an array is stored as such: myarray = (1,2,3,"test") , how can i write a multi-dimensional array?

  2. #2
    Join Date
    Dec 1969

    Default Check out the documentation...

    ...for VBScript on the Microsoft website:<BR><BR><BR><BR><BR><BR>Once you have define your multi-dimensional array, you can get to an element by specifing the indices for all the dimensions, e.g.:<BR><BR>Dim myArray(10,10) &#039; two-dimensional array - 10x10<BR><BR>myArray(1,2) = 123<BR>myArray(9,9) = 1234<BR><BR>Oliver.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts