At 08:56 AM 7/31/2001 +0200, Giuseppe Bilotta wrote:

>Monday, July 30, 2001 Hans Hagen wrote:
>
>HH> \settrue and setfalse are rather primitive commands, i.e. chardefs
>
>HH> \doglobal is used for some commands for which the global assignment is 
>to b
>HH> eapplied somewhere in the middle of the macro def or multiple times; 
>since
>HH> \doglobal is meant for experts, i assume that they peek into the code of
>HH> syst-* macros to see where it is applicable: dodoglobal, redoglobal,
>HH> resetglobal are its low low low level companions
>
>So \settrue and \setfalse have to be precede by \global and
>not \doglobal?

right, they are hash efficient alternatives for \newif cum suis

\newconditional\iunderstand
\ifconditional\iunderstand
\settrue\iunderstand
\setfalse\iunderstand

since \ifconditional is just a \ifcase it works in nested if's; think about 
it: tex lacks a type declaration \ifdef\blabla where \blabla is a scanner 
recognized if [this wish as never honored by *tex dev, so maybe something 
for texlib -)]

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