At 04:21 PM 7/30/2001 +0200, Giuseppe Bilotta wrote:
>Hello,
>
>studying a visible bug in my 2001.7.11 ConTeXt I discovered that
>
>\doglobal\settrue
>and
>\doglobal\setfalse
>
>do *not* set true/false globally, but only locally.
>
>Substituting them with they alleged come-out:
>\global\chardef\command=0
>and
>\global\chardef\command=1
>does work.
>
>Any ideas on the reason why?

\settrue and setfalse are rather primitive commands, i.e. chardefs

\doglobal is used for some commands for which the global assignment is to b 
eapplied somewhere in the middle of the macro def or multiple times; since 
\doglobal is meant for experts, i assume that they peek into the code of 
syst-* macros to see where it is applicable: dodoglobal, redoglobal, 
resetglobal are its low low low level companions

Hans


-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------

Reply via email to