Well,

> Grrr.  I wish I could reclaim all the time I've spent looking for
> misplaced curly braces for complicated Exim expressions.  It really is
> an eye-reddening nightmare.  (FWIW, I usually end up making Exim macros
> for logically complete subparts of such complicated expressions, and
> then I usually get the syntax right within a couple of hundred tries. :-)

Exim's macros are nothing more than a sort of string expansion. But 
these macros are no separate functions which return a value. They just 
replace the code at runtime. That means a code like this:

COND = eq{}{}
condition = ${if COND}

is nothing else than

condition = ${if eq{}{}}

but it does not add anything in the possiblities, it just maybe allows 
to reuse some definitions and make code more readable.

Regards
Marten

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to