• 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: Difference between "as alias" and "as file specification"?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Difference between "as alias" and "as file specification"?


  • Subject: Re: Difference between "as alias" and "as file specification"?
  • From: Michelle Steiner <email@hidden>
  • Date: Wed, 12 Dec 2001 18:37:44 -0700

On 12/12/01 2:46 PM, Greg Back <email@hidden> wrote:

>The subject says it all. i've seen both forms used, and i'd like to know the
>difference. I think this has been asked before, but i couldn't find it on
>the archives. I also looked in the ASLG, but couldn't find anything. I use
>the two interchangeably and have never run into any problems. Would anyone
>like to satisfy my never-ending curiosity by relating an answer to me?

"as file" generates a run-time error under 1.7

I just discovered, though, while testing this that <pathname> as alias is
case sensitive (but only for the disc or volume name) with AS 1.7; I
don't think it was case sensitive with 1.6 and earlier.

This works:

set a to "Dora:Foo" as alias
--> alias "Dora:Foo:"

However an error happens here:

set a to "dora:Foo" as alias
--> File dora:Foo wasn't found.

Even when wrapped in "ignoring case" it returns that error.

But no error happens here:

set a to "Dora:foo" as alias
--> alias "Dora:Foo:"

--Michelle

----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spiritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------


  • Prev by Date: Re: Difference between "as alias" and "as file specification"?
  • Next by Date: RE: even better coerce to record with usrf
  • Previous by thread: Re: Difference between "as alias" and "as file specification"?
  • Next by thread: Re: Difference between "as alias" and "as file specification"?
  • Index(es):
    • Date
    • Thread