this question came up fairly recently -
what you probably want is a proplist with unique names in some way
related to particular spritenums
Irv did a great description last time, so I'll let him find his older
response :)
-Buzz
At 8:24 AM +1000 6/17/05, you wrote:
Hi list.
It's been a while since I've touched programming. I have string that
I would like to convert as a variable-name so that I can use that to
call a variable with different values on them.
basically this is what it's supposed to do roughly
on beginspite
myVariable = "myVariable" & the spriteNum of me
end
on mouseUP
put myVariable
end
lingo.ini
-- then you have this here
myVariable1 = "dfddf"
myVariable2 = "etc"
myVariable3 = "etc etc"
thanks for the help
Elvin.
[To remove yourself from this list, or to change to digest mode, go
to http://www.penworks.com/lingo-l.cgi To post messages to the
list, email [email protected] (Problems, email
[EMAIL PROTECTED]). Lingo-L is for learning and helping with
programming Lingo. Thanks!]
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email
[email protected] (Problems, email [EMAIL PROTECTED]). Lingo-L is for
learning and helping with programming Lingo. Thanks!]