Re: Why save text item delimiters? Philosophical question....
Re: Why save text item delimiters? Philosophical question....
- Subject: Re: Why save text item delimiters? Philosophical question....
- From: John Delacour <email@hidden>
- Date: Wed, 18 Jun 2003 20:28:23 +0100
- Mac-eudora-version: 6.0a22X
At 2:54 pm -0400 18/6/03, Andrew wrote:
On 6/18/03 10:58 AM, "David Crowe" <email@hidden> wrote:
The real flaw, I think, is that the "text item delimiters" are
essentially a global variable.
Indeed. Given that one of the first rules of scalable programming is to
avoid the usage of global variables it's somewhat baffling that the
designers of apple script choose to do it this way.
"Applescript's" text item delimiters is/are "global" within the
current script or application. If I run an applet to change text
item delimiters to space, it will not affect the text item delimiters
in force in any other application. The appellation "Applescript's
text item delimiters" is therefore doubly a misnomer, since a) it
suggests that it's a more global preference than it is and b) it
suggests there can be more than one of it/them. It's worth reminding
people of this.
JD
.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.