It's a property list, so it's correct that you're getting the value via list[1]. If you wanted to get the whole section then it should've been an entry in a linearlist, ie

list = [[["TB199": [135, 137, 0, 0, 0, 0]], [ "TB53": [138, 158, 11, 92, 0, 0]]

Probably the best way now of getting what you want is list.getPropAT(x) and list[x] and making your own entry.

But come'on - YOU'RE the lingo genius. Better than a cunning linguist I suppose.


On Tuesday, July 1, 2003, at 12:41 PM, Kerry Thompson wrote:


I'm trying to retrieve a sub-list from a property list. My property list
looks something like this:


vpl= ["TB199": [135, 137, 0, 0, 0, 0], "TB53": [138, 158, 11, 92, 0, 0]]

[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!]

Reply via email to