• 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: 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)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: Kai Edwards <email@hidden>
  • Date: Tue, 26 Feb 2002 01:12:51 +0000

on Sun, 24 Feb 2002 01:58:31 +0100, Emmanuel <email@hidden>
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
> ---------------------
>
Ah - *now* the light is dawning! All is much clearer (and embarrassingly
obvious) - now the path is illuminated. :)

Many thanks for that, Emmanuel!

Kai

--

**********************************
Kai Edwards Creative Resources
1 Compton Avenue Brighton UK
Telephone +44 (0)1273 326810
**********************************
_______________________________________________
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: Scripting audio feedback?
  • Next by Date: Re: Scripting audio feedback?
  • Previous by thread: Re: HTML to PDF Mac OS X..
  • Next by thread: Saving a file as plain text
  • Index(es):
    • Date
    • Thread