Re: Weird try block syntax
Re: Weird try block syntax
- Subject: Re: Weird try block syntax
- From: Christopher Nebel <email@hidden>
- Date: Fri, 25 Jan 2002 11:59:33 -0800
On Friday, January 25, 2002, at 04:30 AM, Serge Belleudy-d'Espinose
wrote:
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?)
It's a long-standing but little-known feature of AppleScript; nothing to
do with Smile or Jon's Commands. I didn't see any references to it in a
quick scan of the ASLG, but maybe it appears in an example somewhere.
--Chris Nebel
AppleScript Engineering