At 23:36 1/19/2001, Tom Jacobs wrote:
>Can dot syntax be used to access a property list element whose property
>name is constructed as a string?
>
>myList = [#a1: "one", #a2: "two", #a3: "three"]
>myProp = "a" & 1
Will bracket syntax do?
put myList[myProp]
No Director on this machine to test with, but you could also try:
myProp = symbol("a" &1)
put myList.myProp
--
Mark A. Boyd
Keep-On-Learnin' :)
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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!]