Hello,
Im trying to get to the index of an array inside an array. Here is some code to illistrate.
Dim SubArray1(,) = {{a, 1}, {b, 2}}
Dim SubArray2(,) = {{g, 5}, {h, 6}}
Dim MainArray() = {SubArray1, SubArray2}
dim i as integer
For i = 1 to 3
MainArray(i(i,0)) = whatever (????????)
next i
How do I access the SubArray indexes from the MainArray? Is there a better way to do this?
Thanks for the help!!
Rick Feuling
Im trying to get to the index of an array inside an array. Here is some code to illistrate.
Dim SubArray1(,) = {{a, 1}, {b, 2}}
Dim SubArray2(,) = {{g, 5}, {h, 6}}
Dim MainArray() = {SubArray1, SubArray2}
dim i as integer
For i = 1 to 3
MainArray(i(i,0)) = whatever (????????)
next i
How do I access the SubArray indexes from the MainArray? Is there a better way to do this?
Thanks for the help!!
Rick Feuling