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.
--
Shane Stanley <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
This email sent to email@hidden