Hi there. In my code, i setup an array with a few TYPEs in it, such as:
object(num).texture
object(num).texscale
etc
This works fine in my code and everythings hunky dory until i added a simple save routine which basically writes all the associated things to do with the blocks into a file. Everything works, until i try and use the array with type to refer to a variable.
So, in other words, using : write file 1,object position x(num)
works fine.
But, using : write file 1,object(num).texture
dont.
Even copying the contents to another variable first dont work, such as : tex=object(num).texture
then : write file 1,tex
If i then look at whats saved, instead of being say 2 or 20, it ends up about 18025353!
I think its to do with it recording the pointer rather than the value?