There are no 2D arrays in JASS, but you can realize a 2D array in a 1D array by using a function that codes 2 integers into 1.
E.g. if you want an 2D array with 10 x 10 you could use that one:
function c takes integer x, integer y returns integer
return 10*y + x
endfunction |