Re: Test for existence of a variable?
Re: Test for existence of a variable?
- Subject: Re: Test for existence of a variable?
- From: Adam Wuellner <email@hidden>
- Date: Thu, 11 Aug 2005 09:36:09 -0500
On 8/11/05, Mark J. Reed <email@hidden> wrote:
> any sort of exception-catching mechanism to intercept the
> blowup before it happens?
> global _
> set saved_ to _
> (* do stuff with _ *)
> set _ to saved_
global _
set gotItSaved to false
try
set saved_ to _
set gotItSaved to true
end try
(* do something with _ *)
if gotItSaved then set _ to saved_
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden