I currently have a two-dimensional array that represents a gameboard. I have functions that assign values to every element in that array. I currently use two "for" loops to go through the array like so:
for (i=0; i<11; i++) {
for (j=0; j<11; j++) {
GameBoardArray[i][j] = 1;}
}
I was wondering if there was some kind of operator that I could use that would do this with one line of code, such as:
GameBoardArray[?][?] = 1;
Is this possible in Actionscript?