• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: varibles in handler
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: varibles in handler


  • Subject: Re: varibles in handler
  • From: Axel Luttgens <email@hidden>
  • Date: Thu, 20 Jan 2011 00:12:10 +0100

Le 19 janv. 2011 à 23:49, Nigel Garvey a écrit :

> Axel Luttgens wrote on Wed, 19 Jan 2011 17:46:50 +0100:
>
>> [...]
>> 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.  :-)

Hello Nigel,

Sorry, too much ideas chocking simultaneously in a poor and badly behaved head.
I was thinking about the opportunity to define a script's "method" instead of directly act upon a global variable, such as the reset() handler in my alternate proposal.
Thanks for having raised the point.
Axel


 _______________________________________________
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

References: 
 >Re: varibles in handler (From: "Nigel Garvey" <email@hidden>)

  • Prev by Date: Re: varibles in handler
  • Next by Date: Strange Error
  • Previous by thread: Re: varibles in handler
  • Next by thread: Copying unicode from Excel and pasting to text file
  • Index(es):
    • Date
    • Thread