Hi Nathan,

> you almost had it.  remember, by default velocity does not parse things in
> single quotes, but does parse those in double quotes.  so as long as your arg1
> does not require parsing, you can do:
> 
> #set( $foo = "#mymacro( 'arg1' )" )
> 
> and the string 'arg1' will be passed to the macro which is then evaluated and
> set as $foo.
Hmm.  Didn't know you could do that.  Even works if the macro result has
a line separator!
Still got lots of learning to do. :)

Best regards,
-- Shinobu Kawai

--
Shinobu Kawai <[EMAIL PROTECTED]>




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to