I don't know if this will answer your question: you can have multidimensional arrays.
eg:
dim x(3,4)
will give you 3*4 turrets, you can then access it like this:
x(tank,1)=100
note: you can also use Zero as index, so dim x(3,4) will actually give you 4*5 array indexes (0 to 3 * 0 to 4).
To acces the fields of a chessboard you would do something like:
dim chess(7,7)
for y=0 to 7
for x=0 to 7
chess(x,y)=rand(whatever)
next
next
For types it's better some types experts will answer this.
eg:
dim x(3,4)
will give you 3*4 turrets, you can then access it like this:
x(tank,1)=100
note: you can also use Zero as index, so dim x(3,4) will actually give you 4*5 array indexes (0 to 3 * 0 to 4).
To acces the fields of a chessboard you would do something like:
dim chess(7,7)
for y=0 to 7
for x=0 to 7
chess(x,y)=rand(whatever)
next
next
For types it's better some types experts will answer this.