Baffled By Arrays

BlitzMax Forums/BlitzMax Programming/Baffled By Arrays

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Ah! Ok, NOOOOOOW it makes sense. I guess ;) Seriously, though, it does. But, what advantage does an array of arrays have over a two dimensional array? They seem to work in a similar way. That is, in this:
Global Arr:Int[2,2]

We have two elements per index. That is, we have:
Arr[0,0] = 1  ; index one's first element
Arr[0,1] = 2  ; index one's second element
Arr[1,0] = 3  ; index two's first element
Arr[1,1] = 4  ; index two's second element

Seems to work the same as:
Arr[0][0] = 1
Arr[0][1] = 2
Arr[1][0] = 3
Arr[1][1] = 4

In this instance, are they the same? I guess the difference is that the 'secondary' array COULD be multidimensional if necessary. Am I close?

Thanks,
Russell