Hi List,

in an object, I can easily set a property like this

me.pSomething = 1

But what, if I have the name of the property in a variable? Like

myProp = symbol(pSomething)

Writing

me[myProp] = 1

doesn't work,

set myProp of me to 1

doesn't work either.

Any solution?

Thanks in advance!
Michael

[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!]

Reply via email to