The getPropAt() command gets you the property at a specific index, whereas the getAt() command gives you the value at a specific index.
Thus (using old Lingo): numItems =count(myList) repeat with x=1 to numItems thisProp =getPropAt(myList, x) thisVal =getAt(myList, x) contents =thisProp & ":" & thisVal put contents -- Puts to message window but you could put anywhere end repeat Of course, now that you're going through the list, you could check for specific property values, or whatever... - Tab At 07:04 AM 9/19/02, jennie svedebring wrote: >Hi! i have a question about property lists! If I like to do a search among >the properties, not the values, in a list how do I do that? And if I like >to display both the property and the value in a text field? the .text >command only works for values! Please help me! > >best regards Jennie G. >e-mail [EMAIL PROTECTED] > >_________________________________________________________________ >P� MSN hittar du det roliga, intressanta och anv�ndbara p� internet: >http://www.msn.se [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!]
