Hi, how can I insert in a property list a property value that I get from
a variable or any other piece of code.
What I want to do is something like this...
historylist.addprop(#tempsprite.member.name, tempsprite.member.text)
For the foregoing example you'd use the symbol function:
historylist.addprop( symbol(tempsprite.member.name), tempsprite.member.text)
Note symbol conversion stops at any nonalphanumeric character, so punctuation, spaces, etc. will cause the symbol conversion to stop:
put symbol ( "howdy, man!" ) -- #howdy
Warren Ockrassa | http://www.nightwares.com/ Director help | Free files | Sample chapters | Freelance | Consulting Author | Director 8.5 Shockwave Studio: A Beginner's Guide Published by Osborne/McGraw-Hill http://shop.osborne.com/cgi-bin/osborne/0072195622.html
[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!]
