Listing the names contained in a record
Listing the names contained in a record
- Subject: Listing the names contained in a record
- From: Jeffrey Mattox <email@hidden>
- Date: Wed, 30 Oct 2002 01:28:42 -0600
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.