Have you tried using
#set( $H = '#' )
#fun( "${H}nofun" )
to call your macro? Maybe it will work! (some odds remain, since
macro indirect references are a world of their own).

Cheers,
Christoph

Ed Yu wrote:
> Here is my vm file:
> 
> <html>
> #macro (nofun)
>     This is no fun!<br>
> #end
> #macro (fun arg1)
>     This is fun for $arg1.<br>
> #end
> 
> #fun("me")
> </html>
> 
> It renders properly with output:
> 
> This is fun for me. 
> 
> But if I add #fun("#nofun") or #fun("\#nofun"), it result an error. What
> I really want to do here is to use the # sign as a literal character
> such that it will display:
> 
> This is fun for #nofun,
> 
> How do I achieve this? Or is it a potential parser error?
> 
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Ed Yu, IBM Certified Specialist - AIX System Administrator


-- 
:) Christoph Reck


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

Reply via email to