thanks alot!
So for this new version I now need an extra set of parenthesis?
What about writing into the array?
((MAP.TILES)[tx])[ty]=blablabla;
(MAP.TILES[tx])[ty]=blablabla;
(MAP.TILES[tx][ty])=blablabla;
(((MAP.TILES)[tx])[ty])=blablabla;
All of these variations produce errors...
EDIT:
Nevermind, I was not thinking properly.
For anyone doing something similar in the future the correct syntax would be:
((MAP.TILES)[tx])[ty].highID=blablabla;
It is hard getting used to using arrays like this, but hopefully in time I will stop making these stupid mistakes...
Thankyou all for your help!