coercion to string values has effects

Helmut Jäcklein hjaecklein at vogel-druck.de
Mon Mar 25 02:47:10 PST 2002


Thanks a lot Matt,

that is a great help for me!

Matt Neuburg wrote:

> See p. 328 of my book to understand the reason for this feature. Coercion
> of string4s to strings takes place in a context of name-substitution, so
> that when you're examining an Apple event you see the name of a string4
> constant:
>
>   with system.macintosh.constants {msg(displaystring('afte'))}
>
> To avoid this feature, either avoid actions where displaystring is
> (implicitly) invoked, or don't use string4s, or change the context (that
> is, have the string4 and the coercion take place in two different contexts
> so the coercion can't see the string4). m.
> --
>
> matt neuburg, phd = matt at tidbits.com, http://www.tidbits.com/matt
> pantes gar anthropoi tou eidenai oregontai phusei
> Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/

--
Helmut Jäcklein
-------------------------------------------
Vogel Druck und Medienservice GmbH & Co. KG
-------------------------------------------






More information about the Frontier-Users mailing list