On 7/16/02 9:13 AM, "Igor Abade V. Leite" <[EMAIL PROTECTED]>
wrote:

> Is there a way to define optional parameters in a Velocimacro?
> For instance, given the following macro:
> 
> #macro ( myMacro $param1 $param2 $param3 )
>   (some content)
> #end
> 
> Can I do something like the snippet below?
> 
> #myMacro('Val1', , 'Val3')
> 

No.  the parser will throw a fit.

What would you want $param2 to be in the macro in that case?

-- 
Geir Magnusson Jr. 
Research & Development, Adeptra Inc.
[EMAIL PROTECTED]
+1-203-247-1713



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

Reply via email to