• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: TIDs default in AS is {""}
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: TIDs default in AS is {""}


  • Subject: RE: TIDs default in AS is {""}
  • From: "Wallace, William" <email@hidden>
  • Date: Wed, 13 Nov 2002 10:55:23 -0600

Your comments are, in fact, supporting my point (rather than refuting it).


>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


Yes, I am still getting a result from the "last invocation". I am *not*
suggesting that ASsTIDs behave in an unexpected manner. I am suggesting that
referring to "" as the *default* value for ASsTIDs is a misleading statement
(I would call it an initial value). In common parlance saying X is the
default value for Y implies that (unless explicit instructions to the
contrary are given for the current instance) the value of Y will *always* be
X. This is not the case in the example I used. The value I explicitly set in
the second instance was also used in the third instance (where no explicit
instruction to contrary was given). This behavior is consistent with what I
have learned to expect from ASsTIDs, but it is contrary to what
Merriam-Webster defines as the behavior of a "default" value.

I realize it's not much of a point... but it's the only one I was trying to
make.

-W
_______________________________________________
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.

  • Prev by Date: Re: Where's the cookie, monster?
  • Next by Date: Re: handler failure
  • Previous by thread: Re: TIDs default in AS is {""}
  • Next by thread: OT: AppleMail settings when under AOL
  • Index(es):
    • Date
    • Thread