Re: Weird try block syntax
Re: Weird try block syntax
- Subject: Re: Weird try block syntax
- From: "Serge Belleudy-d'Espinose" <email@hidden>
- Date: Fri, 25 Jan 2002 20:48:48 +0100
At 8:45 -0800 25/01/02, Paul Berkowitz wrote:
>
> try
>
>
>
> on error number -n
>
>
>
> end
>
It's a basic feature of AppleScript, and must be in the ASLG, Serge.
Ok, my question was not clear enough. I _know_ about the following construct:
try
on error number errNum
end try
which puts the error number into the variable errNum, so that you can test it and use conditional error traping code.
My question is, when I see this:
try
on error number -1708 -- for example
end try
what does it do, does it trap only -1708? I _have_ read ASLG but couldn't find this construct, nor was I able to get something done with it. Time to go back to AS school?
Serge
--
\\//\//\// Serge Belleudy-d'Espinose Institut Jacques Monod - Jussieu
// // //
http://www.ijm.jussieu.fr/ Universites Paris VI, VII - CNRS
//\//\//\\