Re: Why doesn't 'alias' error when the file no longer exists?
Re: Why doesn't 'alias' error when the file no longer exists?
- Subject: Re: Why doesn't 'alias' error when the file no longer exists?
- From: Paul Berkowitz <email@hidden>
- Date: Mon, 18 Dec 2000 11:46:36 -0800
On 12/18/00 11:19 AM, "Eric Grant" <email@hidden> wrote:
>
In general, just "getting" a variable does nothing -- it is a literally
>
useless action. So, as you surmised, "getting" an alias does not resolve
>
the alias. You must actually use the alias (such as by coercing it to a
>
string) for it to be resolved.
Thanks, Eric. Actually coercing it to a string didn't error either:
theFile as string
-- "Hard Disk:Some Folder:Some File" [no error, though no such file
there]
I have Jon's Commands and Akua Sweets installed, if that affects this here.
It's only when I then try to make an alias out of that path name, that it
errors if there's no file corresponding to that location:
alias (theFile as string) -- ERROR
--
Paul Berkowitz