Re: String-to-constant coercions (was Bug in OS 9.2.1/2 S 1.6-1.8.2b? and Set t to true as boolean)
Re: String-to-constant coercions (was Bug in OS 9.2.1/2 S 1.6-1.8.2b? and Set t to true as boolean)
- Subject: Re: String-to-constant coercions (was Bug in OS 9.2.1/2 S 1.6-1.8.2b? and Set t to true as boolean)
- From: Emmanuel <email@hidden>
- Date: Sun, 24 Feb 2002 01:58:31 +0100
At 9:55 PM +0100 23/2/02, Kai Edwards wrote:
>
>
-----------------------------------------------------------------------
>
>
* "true" as constant --> true
>
"false" as constant --> Can't make "false" into a constant.
[...]
>
There may be a perfectly rational explanation for some results but - as for
>
the rest - well, I'm still trying to work it all out!) 8-P
The explanation could be that:
---------------------
"abcd" as constant
---------------------
be a synonym for:
---------------------
<<constant ****abcd>>
---------------------
In particular, "s as constant" only works if s'length is 4.
For instance:
---------------------
"fals" as constant --> false
"no " as constant --> no
"pnam" as constant --> name
---------------------
Emmanuel
_______________________________________________
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.