Re: [exim] conditionals in exim

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Dave Evans
Datum:  
To: Steffen Heil
CC: exim-users, 'Peter D. Gray'
Betreff: Re: [exim] conditionals in exim
On Wed, Jan 03, 2007 at 10:27:44AM +0100, Steffen Heil wrote:
> Another example for this simplification would be:
>
> Instead of
> condition = {$if eq{a}{$b} {1}{0}}
> you could just write
> condition = $eq{a}{$b}
> Which is really what you mean.
> Right now you need to say, "if it's true then it's true otherwise it
> isn't."...


No you don't. You can omit the {0} (defaults to the empty string) and also
the {1} (defaults to the string "true").

--
Dave Evans
Power Internet
http://www.powernet.co.uk/~davide/about-powernet.txt