--On 23 November 2010 19:54:57 +0200 Artjom Gora <[email protected]>
wrote:
> Hello, exim-users!
> Is there are any possibility to expand an arbitrary variable into the
> macro name?
> For instance, Ihave several macros defined lke this
> MACRO1=some data
> MACRO2=another data
> MACRO3=some other data
>
> then have acl like this
>
> warn set acl_c1 = ${some expansion}
>
> where acl_c1={1..3}
>
> Can I use my macros in the follow way?
>
> MACRO${acl_c1}
I think that won't work, because MACRO expansions occur first. Why not have
the expansion resolve to MACRO1, MACRO2, or MACRO3?
--
Ian Eiloart
IT Services, University of Sussex
01273-873148 x3148
For new support requests, see http://www.sussex.ac.uk/its/help/
--
## 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/