About Multi-Dimensional Arrays...

BlitzMax Forums/BlitzMax Programming/About Multi-Dimensional 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.

Just thought I'd mention that a multi-dimensional array, and an array of arrays are two different things in BlitzMax:

Local multiDimArray:Int[,] = New Int[10,10]
Local arrayOfArray:Int[][] = [ [1, 2, 3], [4, 5, 6] ]
I use array of arrays more nowadays as they seem far easier to handle and manipule (e.g. slicing etc.) in BlitzMax, and they are more flexible.

Maybe it's just that they seem to make more sense to me...