Re: change case script
Re: change case script
- Subject: Re: change case script
- From: Bill Briggs <email@hidden>
- Date: Sun, 4 Nov 2001 00:28:15 -0400
At 11:28 AM -0800 03/11/01, Paul Berkowitz wrote:
On 11/3/01 11:07 AM, "Arthur J Knapp" <email@hidden> wrote:
When I write handlers, I try to always use the save, set, and restore
technique for tids, because I don't like to make any assumtions about
what the "main" calling script is doing with the delimiters, but when
I post "top-level" bits of code, I'm never sure what the best way to
deal with the tids is.
My own policy, taken over from JD of yore, is to restore {""}. I myself do
it specifically to help out users who don't know about this stuff and may
have their tids in a twist due to somebody else's script not restoring the
default correctly. I would not do this in any script meant to run
from from a scripter's script editor where other work may be in
progress.
Sadly, since AppleScript isn't multi-threaded, not even in X, this
isn't likely to be a problem (other work can't be in progress). I
wish it was a problem.
- web