Computer Science Canada

Manipulate variable names

Author:  sh4ring4n [ Thu Jan 10, 2013 7:31 pm ]
Post subject:  Manipulate variable names

What is it you are trying to achieve?
How would you have a base object name and add numbers to it?




Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)

Turing:


class pizza
    blah blah blah
end pizza

var enemys : pointer to enemy
new enemy , enemy1



Please specify what version of Turing you are using
Latest version, and OpenTuring

Author:  Insectoid [ Thu Jan 10, 2013 7:36 pm ]
Post subject:  RE:Manipulate variable names

You don't. I think you might want to have a look at arrays though.


: