Arrays

BlitzMax Forums/BlitzMax Programming/Arrays

SuperStrict

Type test
	Field arr:Int[,]
	
	Function create:test(x:Int,y:Int)
		Local tempTest:test = New test
			tempTest.arr = New Int[x,y]
		Return tempTest
	End Function
	
End Type

Local t:test = test.create(10,10)

t.arr[0,0] = 100

Print t.arr[0,0]