Init 2D arry

BlitzMax Forums/BlitzMax Beginners Area/Init 2D arry

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.

but wouldn't the best way to initialize an array be to use something like


No, that would be one way to declare a 2D array in B2D or B3D.

To declare a 2D array in BMax you would do

Global myArray:Int[100,100]


But that's not the same as initializing it, since you can't auto-initialize a multi-dimensional array.