Oh right. Thanks!
I was thinking of a one dim. array. That would use MOD.
A Two dim. array takes care of that on its own.
I'm using a 2 dim. array, so your example will work fine.
Steps would just be plus or minus 10 in X or Y.
I was thinking of a one dim. array. That would use MOD.
A Two dim. array takes care of that on its own.
I'm using a 2 dim. array, so your example will work fine.
Steps would just be plus or minus 10 in X or Y.