“${macro:var}” is a good option
+1

On 19-02-2015 21:08, Tim Bannister wrote:
On 19 Feb 2015, at 13:02, Nick Gearls <nickgea...@gmail.com> wrote:
Wrong answer: mod_macro uses the syntax $var but also ${var}, which is mandatory if you 
want the variable to be a part of a string, like in "${var}abc".
The syntax really clashes with the Define directive, so it should be changed.
Another unused character could be used, like §
There aren't many suitable symbols left unused.

To make interpolation not clash with Define I'd prefer “${macro:var}”, or 
something like that, to “§{var}”.


Reply via email to