IIRC, you need the getaProp/setaProp syntax in that situation.

At 1506 +0200 10/03/2005, Michael von Aichberger 2 wrote:
>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?
>...


[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to