Is there a quick/shorthand way for giving multiple variables the same value at once?
I have a 2d array that I want the value 1 stored in essentially random places, so I cannot use a loop.
As far as I know I will have to input each value in one at a time:
grid[4][7] = 1
grid[4][8] = 1
grid[6][2] = 1
etc…
Thanks!
Dane
[import]uid: 117490 topic_id: 20679 reply_id: 320679[/import]