Re: text item delimiters
Re: text item delimiters
- Subject: Re: text item delimiters
- From: David Andrews <email@hidden>
- Date: Thu, 28 Oct 2004 23:35:22 -0400
So, I can see that "scope" applies to text items delimiters, but still, what's with the various labels?
--------------------------
script alpha
--set text item delimiters to "1" --> {"", "", ""}
--set my text item delimiters to "2" --> {"", "", ""}
set AppleScript's text item delimiters to "3" --> {"", "", ""}
end script
{text item delimiters, my text item delimiters, AppleScript's text item delimiters}
--------------------------
On Oct 28, 2004, at 4:54 PM, Adam K. Wuellner wrote:
[snip]
So, is it even possible to use a some TIDs other than AppleScript's when getting text items?
- Adam
On Oct 27, 2004, at 10:31 PM, Malcolm Fitzgerald wrote:
[snip]
I'm not the best one to explain it. The short answer is "scope".
On Oct 28, 2004, at 2:33 PM, Skinner Paul wrote:
script alpha
set my text item delimiters to {","}
end script
AppleScript's text item delimiters
-->{""}
On Oct 27, 2004, at 9:55 PM, David Andrews wrote:
On Oct 27, 2004, at 3:36 AM, Malcolm Fitzgerald wrote:
[snip]
set my text item delimiters to ""
[snip]
So what's in a label? It seems to me that the labels given to the text item delimiters could be misleading since they all seem to do the same thing:
-----------------
--set text item delimiters to "1" --> {"1", "1", "1"}
--set my text item delimiters to "2" --> {"2", "2", "2"}
set AppleScript's text item delimiters to "3" --> {"3", "3", "3"}
{text item delimiters, my text item delimiters, AppleScript's text item delimiters}
-----------------
Dave A
_______________________________________________
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