Am 01.06.2011 um 16:01 schrieb luigi scarso:

> no, --- infact I've said "this works", not "it's the only solution" or
> " it's the perfect solution".
> \ifcsname...
> looks a bit strange if I'm working with \newif .

And he’s cheating because he tests only the existence of the \ifabc command.

It’s easier to understand with the \ifdefined:

\ifx\hbox\undefined
   \newif\ifabc \abcfalse
   \ifdefined\ifabc … \else … \fi
\fi

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to