property pMyProperty, pMyListon new me pMyProperty = "thisOne" pMyList = [#notTheOne: [1,1,1], #thisOne: [2,2,2], #notThisOne: [3,3,3]] end on myHandler me put pMyList.pMyProperty --- this is my problem, it searches for a string called "pMyProperty" instead of for my property "thisOne" end
Try this: put pMyList.getProp(pMyProperty) That works if pMyProperty is a string or a symbol. Cordially, Kerry Thompson [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!]
