• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Listing the names contained in a record
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Listing the names contained in a record
      • From: John Delacour <email@hidden>
  • Prev by Date: [Apple List Admin] Re: using non-ascii chars on this mailing list
  • Next by Date: Re: Listing the names contained in a record
  • Previous by thread: [Apple List Admin] Re: using non-ascii chars on this mailing list
  • Next by thread: Re: Listing the names contained in a record
  • Index(es):
    • Date
    • Thread