• 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: Is this a major bug or not?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is this a major bug or not?


  • Subject: Re: Is this a major bug or not?
  • From: "Mark J. Reed" <email@hidden>
  • Date: Mon, 1 Jun 2009 18:54:22 -0400

The fact that you have to iterate through a list of pairs just means
it's not an associative array (Table ADT, Map interface, whatever).
It's still a set of key/value pairs, where you don't have to know the
keys ahead of time to access them.

On Mon, Jun 1, 2009 at 6:37 PM, Philip Aker <email@hidden> wrote:
> On 2009-06-01, at 02:17:42, Philip Aker wrote:
>
>> I believe Deivy's illustration above shows up that records should never
>> have been addressable in the forms AppleScript uses. Instead, they should be
>> key/value pairs which, just to add insult to injury, is how they are
>> actually used in AppleEvents.
>
> Due to an offlist post by one of the more discrete list members, I must
> amend my remark about key/value pairs to be more accurate. What I should
> have said is that in AppleEvents it's possible to obtain both the keys and
> values of any pairing in a record but in AppleScript, only possible by using
> a run script hack. Technically speaking AERecords are not key/value
> associations but accessed by iterating through a list of pairings.
>
>
> Philip Aker
> echo email@hidden@nl | tr a-z@. p-za-o.@
>
> Democracy: Two wolves and a sheep voting on lunch.
>
> _______________________________________________
> 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
>



--
Mark J. Reed <email@hidden>
 _______________________________________________
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

  • Follow-Ups:
    • Re: Is this a major bug or not?
      • From: Philip Aker <email@hidden>
References: 
 >Re: Is this a major bug or not? (From: Philip Aker <email@hidden>)
 >Re: Is this a major bug or not? (From: Philip Aker <email@hidden>)

  • Prev by Date: Re: Is this a major bug or not?
  • Next by Date: Re: Is this a major bug or not?
  • Previous by thread: Re: Is this a major bug or not?
  • Next by thread: Re: Is this a major bug or not?
  • Index(es):
    • Date
    • Thread