Posted By: Doriel
multi-dimensional arrays - 08/10/07 12:05
I know that arrays exist in cscript. (e.g. Var myArray[10];) But is it possible to have multi-dimensional arrays?
I want to do something like this:
var myArray[10][20];
I tried it but it's not working. Actually, it allows me to define it but when I try to set a value, it gives me an error.
myArray[4][18] = 10;
Any ideas? Are there any other constructs out there that I could use instead if this isn't possible?
Regards,
Doriel
I want to do something like this:
var myArray[10][20];
I tried it but it's not working. Actually, it allows me to define it but when I try to set a value, it gives me an error.
myArray[4][18] = 10;
Any ideas? Are there any other constructs out there that I could use instead if this isn't possible?
Regards,
Doriel