thanks alot!

So for this new version I now need an extra set of parenthesis?
What about writing into the array?

Code:
((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:
Code:
((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!

Last edited by Carlos3DGS; 02/11/13 18:33.

"The more you know, the more you realize how little you know..."

I <3 HORUS
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=401929&page=1