• 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
Re: working with records
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: working with records


  • Subject: Re: working with records
  • From: Doug McNutt <email@hidden>
  • Date: Thu, 23 Aug 2007 05:41:35 -0600

At 23:33 -0700 8/22/07, Philip Aker wrote:
>The analogies are available in Carbon CFDictionary and several other  scripting languages standardly installed on Mac OS X. Sometimes it's  very handy to deal with keys, sometimes with values, and sometimes  with both. For instance in Tcl you can get the key(s) of a value and  swap the keys and values.

I find the * sigl in perl useful for setting up keys based on the first line of a tab-separated text file. It is common to have the first line contain names for the columns. When writing a generalized module to support a variety of column arrangements you don't know the names but a user of the module does.

Actually that's the way the export structure works deep inside of perl.

This discussion has pointed out that such things are, in fact, possible in AppleScript.
--

--> From the U S of A, the only socialist country that refuses to admit it. <--
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >working with records (From: Wayne Melrose <email@hidden>)
 >Re: working with records (From: Christopher Nebel <email@hidden>)
 >Re: working with records (From: Wayne Melrose <email@hidden>)
 >Re: working with records (From: Philip Aker <email@hidden>)

  • Prev by Date: Scripting iTunes
  • Next by Date: Re: author and filetype
  • Previous by thread: Re: working with records
  • Next by thread: Re: working with records
  • Index(es):
    • Date
    • Thread