Problems with arrays

BlitzPlus Forums/BlitzPlus Beginners Area/Problems with arrays

Whoops, accidentally pressed the post button.

...it as such:
Dim board(5,5)
board(1,1) = 0
;...and so on


so, since the pieces in the game have four sides (left, right, up, down) I was wondering how I store such information in the board. I really don't want to have to do something like this:
Dim boardLeft(5,5)
.....so on
Dim boardRight(5,5)
.....so on

i feel like there's an easier way to do this. Any suggestions are most appreciated.