Re: Handler query - exchanging values
Re: Handler query - exchanging values
- Subject: Re: Handler query - exchanging values
- From: Simon Topliss <email@hidden>
- Date: Fri, 30 Jun 2006 08:46:36 +0100
On 30 Jun 2006, at 08:41, Shane Stanley wrote:
On 30/6/06 5:26 PM, "Axel Luttgens" <email@hidden> wrote:
But previously, one had terrible lexical scoping clashes that
required
to be extremely careful:
-- OK up to 10.3.9
-- (fortunately) fails since 10.4.x
global apples
boo()
hoo()
on boo()
set apples to 1
end boo
on hoo()
display dialog apples
end hoo
The only care required is to declare the variables as locals within
the
handlers, surely.
I don't get any errors either. I'm not sure what Axel is trying to
illustrate here? And please don't call me Shirley.
_______________________________________________
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