• 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: Rogue list?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rogue list?


  • Subject: Re: Rogue list?
  • From: Chris Espinosa <email@hidden>
  • Date: Wed, 9 May 2001 11:05:56 -0700

On Tuesday, May 8, 2001, at 10:08 PM, Paul Berkowitz
<email@hidden> wrote:

>> as there's no way to specify an
>> empty record in AppleScript itself.
>
> Why does it work in OS X without problem?

Finder 10.0 is a complete rewrite (which is why scripting is so
broken). I suspect the accidental code path that generated the empty
record just doesn't exist in the Finder 10.0 source. As for the
empty-record-seems-like-a-list-but-isn't problem, it behaves identically
in X:

set r to run script "({<<class usrf>>:{}}")
class of r --> returns list
set end of r to 2 --> errors: Can't set end of {} to 2

> And why does it log the class as list instead of record in OS 9?

That we haven't figured out yet...

Chris


  • Prev by Date: Re: Rogue list?
  • Next by Date: Re: URL SCRIPT ERROR CODE
  • Previous by thread: Re: Rogue list?
  • Next by thread: Re: Rogue list?
  • Index(es):
    • Date
    • Thread