Why save text item delimiters? Philosophical question....
Why save text item delimiters? Philosophical question....
- Subject: Why save text item delimiters? Philosophical question....
- From: David Crowe <email@hidden>
- Date: Sun, 15 Jun 2003 16:09:18 -0600
One of the common aspects of all scripts that use the AppleScript
text item delimiters is that first they are saved, then set to the
desired value, then used, then restored.
In my mind, the first and last steps are a waste of time. If every
script always sets the delimiters to the desired value, then there
should be no need to restore them, and the code to save/restore is
just a waste.
The only problem that I can see is that while using the text item
delimiters your script calls a function that sets them to a different
value, but even limiting this to the case where the code between
setting and usage of the delimiters has no function calls, clearly
this seems like an anachronism.
Another way to look at it is to pose the question: "Would you use the
text item delimiters without setting them to the needed value first?"
- David Crowe
_______________________________________________
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.