Re: varibles in handler
Re: varibles in handler
- Subject: Re: varibles in handler
- From: "Nigel Garvey" <email@hidden>
- Date: Wed, 19 Jan 2011 22:49:10 +0000
Axel Luttgens wrote on Wed, 19 Jan 2011 17:46:50 +0100:
>Alternatively, perhaps could it prove useful to define a script:
>
> script TID
> property originalDelimiters: {}
> on setDelimiters(newDelimiter)
> [...]
>That way, one would have a single name (the script object's name) in the
>namespace anymore (instead of two: originalDelimiters and setDelimiters) as
>well as avoid any scoping and persistency issues coming with global
>variables.
It wouldn't avoid persistency issues. The variable TID would be global
and the script object, along with the current value of its
originalDelimiters property — would persist between runs. :-)
>Just a thought ;-)
:-)
NG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden