On Tuesday, November 18, 2014 12:59:50 PM UTC+10, Randy Zwitch wrote: > > It would appear so...I swear that I tried that, but I guess I didn't try > that permutation! > > So what's it about the @eval macro that doesn't allow for regular string > interpolation, that I have to use the string() function instead of an > inline $? >
The @eval macro quotes its arguments. Within quoted code substitution is by Expr objects, not text, so it won't substitute into a string. Cheers Lex >>