ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* doifempty
@ 2006-08-10  6:28 Bernd Militzer
  2006-08-10  7:19 ` doifempty Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Bernd Militzer @ 2006-08-10  6:28 UTC (permalink / raw)


Hi all,

after I defined

\def\VariA{}
\def\VariB{with Text}

\doifemptyelse{\VariA}{empty}{not empty}\crlf
\doifemptyelse{\VariB}{empty}{not empty}

both results are "not empty"!

what do I wrong?

thanks for help

Bernd

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: doifempty
  2006-08-10  6:28 doifempty Bernd Militzer
@ 2006-08-10  7:19 ` Hans Hagen
  2006-08-10  7:38   ` doifempty Bernd Militzer
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2006-08-10  7:19 UTC (permalink / raw)


Bernd Militzer wrote:
> Hi all,
>
> after I defined
>
> \def\VariA{}
> \def\VariB{with Text}
>
> \doifemptyelse{\VariA}{empty}{not empty}\crlf
> \doifemptyelse{\VariB}{empty}{not empty}
>
> both results are "not empty"!
>   

the empty test is kind of special, use \doifelsenothing cum suis

> what do I wrong?
>
> thanks for help
>
> Bernd
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>   


-- 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: doifempty
  2006-08-10  7:19 ` doifempty Hans Hagen
@ 2006-08-10  7:38   ` Bernd Militzer
  0 siblings, 0 replies; 3+ messages in thread
From: Bernd Militzer @ 2006-08-10  7:38 UTC (permalink / raw)


Hans Hagen schrieb:
> the empty test is kind of special, use \doifelsenothing cum suis
>   
perfect, thanks a lot

Bernd

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-08-10  7:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-10  6:28 doifempty Bernd Militzer
2006-08-10  7:19 ` doifempty Hans Hagen
2006-08-10  7:38   ` doifempty Bernd Militzer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).