Initializing multi-dim arrays

BlitzMax Forums/BlitzMax Programming/Initializing multi-dim 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.

Isn't this what you're looking for...
http://www.blitzwiki.org/index.php/Arrays
Multi-Dimensional Arrays
To create an array with more than one dimension, you can specify indexes seperated by commas:

Local int_array1 : Int[4,4] 'create a 4x4 array
Local int_array2 : Int[3,3,3] 'create a 3x3x3 array
You can then refer to them like so:

int_array1[0,0] = 100
int_array2[2,1,0] = 1000