• 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: Why doesn't 'alias' error when the file no longer exists?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Why doesn't 'alias' error when the file no longer exists? (From: "Eric Grant" <email@hidden>)

  • Prev by Date: Re: Why doesn't 'alias' error when the file no longer exists?
  • Next by Date: Re: Why doesn't 'alias' error when the file no longer exists?
  • Previous by thread: Re: Why doesn't 'alias' error when the file no longer exists?
  • Next by thread: Re: Why doesn't 'alias' error when the file no longer exists?
  • Index(es):
    • Date
    • Thread