Hi All, simple question i hope,
Just wanted some clarification on some of the arrays i've being fiddlng with, i won't get into to much detail but essentially a 2D array comprising two integers X and Y.
i.e: Grid[X][Y];
With X and Y set to 5 for example.
Now if i want to look at Grid[4][5], i can simply do Grid[--X][Y] and this allows me to look at those 'coordinates' and also sets the integer X to value 4.
Now what i wanted to ask is whether looking at Grid[3][5] by simply doing Grid[X-2][Y] ALSO changes the value of the integer X by -2 to the value 3 or whether it only allows me to look at the 'coordinates' but not change the integer?
Hope that was all clear, any help is appreciated
Regards Wolfe