How to refer to an object and it's properties in a script?
Posted: Mon Dec 07, 2009 8:16 pm
Hi everyone!
I searched through the topics on this forum, program documentation and the user guide but didn't manage to find the answer so decided to ask you for some help.
Here is that "monster"
how in a script can I refer to an object on a stack if I know it's name but also it's name depends on a value of a variable? I.e. I want to have something like this
Any ideas?
P.S. I guess there must be some function which can convert an integer digit into a string one. But also I need to merge two strings after that. Can't find any in the documentation, unfortunately.
I searched through the topics on this forum, program documentation and the user guide but didn't manage to find the answer so decided to ask you for some help.
Here is that "monster"

So that if image_number is 34 then the object "image34" will be made visible.
set visible of graphic "image" + image_number to true
Any ideas?
P.S. I guess there must be some function which can convert an integer digit into a string one. But also I need to merge two strings after that. Can't find any in the documentation, unfortunately.