Use "getPropAt"
Irv
At 12:29 PM -0500 7/19/04, Matt Wells wrote:
How do you get the first and second value from a property list by the position?
listA = [10: "one", 3: "one", 4: "three"] nCount = count(listA) Repeat with x = 1 to nCount secondPos = ListA[x] put secondPos end repeat
With this I get -- "one" -- "one" -- "three"
How do you get this from the position? -- 10 -- 3 -- 4
[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!]
--
Multimedia Wrangler. [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!]