RE: Weird try block syntax
RE: Weird try block syntax
- Subject: RE: Weird try block syntax
- From: Joe Kelly <email@hidden>
- Date: Fri, 25 Jan 2002 10:57:47 -0800
try
display dialog "Would you like to cancel?"
on error number -128
display dialog "Hey, you canceled! You weren't supposed to do that!"
end
>
-----Original Message-----
>
From: Serge Belleudy-d'Espinose [mailto:email@hidden]
>
Sent: Friday, January 25, 2002 4:30 AM
>
To: email@hidden
>
Subject: Weird try block syntax
>
>
>
Hi all,
>
>
I've just seen this today in a script I'm testing, as well as in
>
samples from Jon's commands:
>
>
try
>
>
on error number -n
>
>
end
>
>
with n being just about any number needed.
>
>
I didn't know such construct existed. My first reaction would be that
>
this is bogus, but who am I to contradict Jon Pugh? :)
>
So is it a feature of Jon's commands- which I'm using actually- or
>
from an editor I'm not using (only Smile and SE?)
>
>
Thanks,
>
>
>
Serge
>
--
>
\\//\//\// Serge Belleudy-d'Espinose Institut Jacques
>
Monod - Jussieu
>
// // // http://www.ijm.jussieu.fr/ Universites Paris
>
VI, VII - CNRS
>
//\//\//\\
>
_______________________________________________
>
applescript-users mailing list | email@hidden
>
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.