Re: Tid's 'n AS
Re: Tid's 'n AS
- Subject: Re: Tid's 'n AS
- From: Axel Luttgens <email@hidden>
- Date: Sat, 09 Nov 2002 18:34:06 +0100
Paul Berkowitz wrote:
>
On 11/8/02 8:12 AM, "Axel Luttgens" <email@hidden> wrote:
>
>
>
>
>[snip]
>
>
>
>That value is a list with one item: the empty string.
>
>
>
>
>
Yes? And so what?
>
I just wanted to make clear that AppleScript's TIDs definitely have a
value when a script starts: they are not arbitrary nor random nor
undefined, as some statements emitted througout this thread tended to
let think.
Second, their initial value is not the "nul character", nor a single
character, as I could read in the thread too.
Third, their value is a list of strings, what sometimes may lead to
confusing behaviors within contexts where the string<->list coercion is
not applicable.
>
>
bill's very important point was that you can _never_ assume that someone
>
(including yourself in the same script/session) has not changed the default,
>
or neglected to restore it. therefore any time you intend to coerce a list
>
to string, you should declare what TIDs to use.
>
That's quite immediate as soon as you know that the TIDs are just a
property initialized by AppleScript with a given value.
The same can be said for every (writable) entity that has a global
scope, and is not specific to TIDs.
I had the feeling that the thread tended to give some mysterious status
to TIDs.
For example, one could imagine similar threads about how to change/not
to change the value of return or tab or pi within a script.
But wouldn't all those threads just tell the same thing: don't use a
global entity without knowing what you are doing?
>
>
>
>Makes me remind of something.
>
>Haven't tried yet if a multi-items list is now fully handled by
>
>AppleScript for its TID.
>
>
>
>
>
>
Very funny. Don't expect that to happen.
>
>
>
>
Hmm... sincerely, I was not trying to joke. I thought having read some
times ago (on this list) that this was still in the plans of the
AppleScript team.
_______________________________________________
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.