Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Listing the names contained in a record



A record contains a list of name/value pairs. Some books describe this as being similar to a Perl associated array (hash). However, in Perl, it's easy to get a list of the names (keys), and then march through the hash fetching the associated values (to display the name-value pairs, for example). I want to do this with an AppleScript record, but there appears to be no way to extract a list of the names, just the values.

Is there a way to get a list of the names of the name/value pairs in a record?

Jeff
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.