Peter Münster schrieb:
On Sun, 8 Feb 2009, Alan Stone wrote:
Re: http://wiki.contextgarden.net/System_Macros/Branches_and_Decisions
What kind of emptyness do \doifempty, \doifnotempty, \doifemptyelse test ?
Hello Alan,
Here a small test file:
\def\Empty{}
\def\Macro#1{argument is \doifemp
On Sun, 8 Feb 2009, Alan Stone wrote:
> Re: http://wiki.contextgarden.net/System_Macros/Branches_and_Decisions
>
> What kind of emptyness do \doifempty, \doifnotempty, \doifemptyelse test ?
Hello Alan,
Here a small test file:
\def\Empty{}
\def\Macro#1{argument is \doifemptyelse{#1}{empty}{full
Hi,
Re: http://wiki.contextgarden.net/System_Macros/Branches_and_Decisions
What kind of emptyness do \doifempty, \doifnotempty, \doifemptyelse test ?
\def\ISay{}
%\def\ISay{Boe!}
\starttext
\doifemptyelse{\ISay}{I say sht}{I say \ISay}
\blank
\doif{\ISay}{}{I say sht}
\