Using error handlers (was Re: HD name change for X)
Using error handlers (was Re: HD name change for X)
- Subject: Using error handlers (was Re: HD name change for X)
- From: email@hidden
- Date: Thu, 17 Jan 2002 22:40:52 EST
Michelle's example brings up something I've been curious about. We've all
used error handlers in interesting ways to achieve our goals, but I've always
thought it to be a bit like cheating (like stealing a Get Out Of Jail Free
card). I do it too, I just don't always feel good about it.
The question I have is, will forcing errors introduce any sort of instability
or bit rot into one's scripts/system? Or can I use such techniques freely
without concern that I might be slowly breaking something under the surface?
Jeff Baumann
email@hidden
www.linkedresources.com
In a message dated 1/17/02 7:46:26 PM, Michelle Steiner wrote:
<snip>
>
property diskname : null
>
try
>
alias diskname
>
on error
>
set diskname to (choose folder)
>
end try