Re: Rogue list?
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