Multidimensional arrays and declaration

BlitzMax Forums/BlitzMax Beginners Area/Multidimensional arrays and declaration

Smurftra(Posted 2006) [#1]
Field AdjacentMove:Int[6][3] = [[0,-1,-1],[1,-1,0],[1,0,1],[0,1,1],[-1,0,1],[-1,-1,0]]

why doesnt ths work? I'm sure its a syntax thing, isn't it?

Smurftra


Jesse(Posted 2006) [#2]
try it like this:

Field AdjacentMove:Int[][] = [[0,-1,-1],[1,-1,0],[1,0,1],[0,1,1],[-1,0,1],[-1,-1,0]]


H&K(Posted 2006) [#3]
Deleted