multidimensional arrays...

BlitzMax Forums/BlitzMax Programming/multidimensional 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.

Russell,
Thanks, but when I try that I get "Expression of type Int Array can't be invoked".

Strict

Local array:int[,][,]
array=New [10,10]

For Local y=0 Until 10
	For Local x=0 Until 10
		array[x,y]=New [10,10]
	Next
Next

Just trying to initialize the array like this the executable seems to just sit there with the CPU utilization at 100%. It eventually needs to be manually stopped. Seems like something like this should work if you can have a 2D array of 1D arrays but maybe not. I'll keep trying and post if I find a solution.