Re: [exim] Weird errors with conditions

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Yves Goergen
Data:  
Para: exim-users
Assunto: Re: [exim] Weird errors with conditions
On 20.09.2005 18:13 (+0200), Fred Viles wrote:
> On 20 Sep 2005 at 17:53, Yves Goergen wrote about
>     "Re: [exim] Weird errors with condit":
> | Why is that 'and' unnecessary when I want to check for 'A and B'?

>
> Because, as you say, the ${lookup will return '0' or '1' - so it can
> be used directly as the "then" value of the ${if.
>
> | According to the documentation, 'eq' only takes 2 parameters, not 3.
>
> Right, so follow that line of thought. If the {${lookup... in
> Jacob's syntax isn't be a parameter of the 'eq', the syntax rules say
> it must be whatever comes next - the {then_string} parameter of the
> ${if.


Aha, now that looks much better now. And it works! :) thanks for your help!

--
Yves Goergen "LonelyPixel" <nospam.list@???>
"People think I've stopped lying... but I've just gotten better at it."
http://newsboard.unclassified.de - Unclassified NewsBoard Forum