Hello.
I could have sworn that I used to be able to set a variable in a macro and
then render that variable after the macro was called. But I seem to be wrong
about this.  Here is an example:

-------------------------------------
/macros.vm
#macro( setVariable )
   #set( $variable = "Velocity" )
#end
-------------------------------------

-------------------------------------
/mypage.vm
#setVariable()
$variable
-------------------------------------


Doesn't render. It just prints "$variable" to the page. Is this supposed to
work?  Or am I doing something that shouldn't be done?

Thanks.


Charlie



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to