Re: Name of this folder
Re: Name of this folder
- Subject: Re: Name of this folder
- From: Paul Berkowitz <email@hidden>
- Date: Mon, 12 Mar 2001 07:51:05 -0800
On 3/12/01 5:31 AM, "Nigel Garvey" <email@hidden> wrote:
>
> :-) It seems to me you forgot a crucial element in your example:
>
>
>
> tell (a reference to Richard23)
>
> try
>
> get its contents
>
> on error
>
> text of "Hey, Artoo. If you ain't got any content, at least tell us
>
> this application's folder?" as string
>
> end try
>
> end tell
>
> display dialog (the alias result as string)
>
>
Well, no. The original actually works with Mac OSes 8.6 and 9.0.4! You
>
can 'tell' a reference something even though its contents don't exist.
>
Obviously, this has been fixed in 9.1. What a shame... ;-)
No, it still works. I thought it was funny. What it can't do is get the
reference's contents (because there aren't any - undefined). So - on error -
it still goes on and works as you wrote it.
--
Paul Berkowitz