Using new with arrays of arrays

BlitzMax Forums/BlitzMax Beginners Area/Using new with arrays of 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.

This works

Local i:Int[][]

i=New Int[][100]

For x=0 To 99
	i[x]=New Int[10]
Next

For x=0 To 99
	For y=0 To 9
		i[x][y]=0
	Next
Next