Re: text item delimiters
Re: text item delimiters
- Subject: Re: text item delimiters
- From: Emile Schwarz <email@hidden>
- Date: Fri, 20 Jan 2006 18:22:57 +0100
email@hidden wrote:
Date: Thu, 19 Jan 2006 20:09:22 -0700
From: Michelle Steiner <email@hidden>
Subject: Re: text item delimiters
To: Applescript Users <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; format=flowed
On Jan 19, 2006, at 3:21 PM, Luther Fuller wrote:
Shouldn't it be ...
set applescript's text item delimiters to {<blah>}
instead of ...
set applescript's text item delimiters to <blah>
Theoretically, yes; in practice, it doesn't matter.
And what can matters is to store the original value - at the start of the code
or just before changing its value - change its value to yours and set back the
original value before quitting / accessing a method/function to avoid potential
later troubles.
As a rule of thumb:
Store and Restore global values and your program will work better.
"Not storing / restoring global values in software is bad for your health and
can kill" ;)
Cheers,
Emile
_______________________________________________
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