How do you put an array within an array.
In c++, you can have Array[0][3] = "". How do u dim those kind of arrays in VB?
Printable View
How do you put an array within an array.
In c++, you can have Array[0][3] = "". How do u dim those kind of arrays in VB?
Multidimensional array:
Code:Dim a(10)(20) as String
I'm pretty sure its actually defined
VB Code:
Dim multiArray(10,10) as String
BTW: Technically it's a MULTI-DIMENSIONAL array, not an array in an array.
An array in an array would look something like this.....
Getting it back out would be FUBAR.VB Code:
Dim arrText() as String Dim arrText2() as variant ReDim arrText(2) arrText(1) = "This is" arrText(2) = "a test." ReDim arrText2(1) arrText2(1) = arrText