Calling a speed macro by name
2 answers
A quick scan of the docs does not indicate support for this. But you can do something like the following:
#macro(myMacro1 $param1 $param2)
## stuff here...
#end
#macro(myMacro2 $param1 $param2)
## stuff here...
#end
#if($condition)
#myMacro1
#else
#myMacro2
#end
Or maybe your macro should take additional parameters to account for all scenarios.
0
source to share