Re: TIDs default in AS is {""}
Re: TIDs default in AS is {""}
- Subject: Re: TIDs default in AS is {""}
- From: Gary <email@hidden>
- Date: Mon, 11 Nov 2002 15:24:06 -0500
Wallace, William <email@hidden> said, on 11/11/02 12:09
PM:
>
However, If I then try to
>
get text item 2 of "abcde" without explicitly choosing a value for
>
AppleScript's text item delimiters the result will be "de". This is contrary
>
to what Merriam-Webster says we should get if AppleScript's text item
>
delimter's *default* value is "".
It seems obvious that (in your haste to be excessively clever? ;) you are
still getting a result from your last invocation, in which the value ASsTIDs
is {"c"} and not, as you suggest {""}. Therefore the second item of "abcde"
is, indeed, "de".
The value you gave it in your example persists, precisely as previously
stated: "Every time you launch Script Editor or a script
application the value of AS's TIDs reverts to the empty string."
You did neither of those things, so it was not reset to "" after your test
with "c".
Gary
_______________________________________________
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.