Hi, I have noticed that the Velocity examples in the user guide mostly
put a space after a "(" and before a ")".

    #set( $size = "Big" )

Does this help the VTL parser?
 
Are there any downsides to using:
 
    #set ($size = "Big")

    #macro (foo $color)
        <tr bgcolor=$color><td>Hi</td></tr>
          <tr bgcolor=$color><td>There</td></tr>
    #end

    #if ($foo < 10)
        <strong>Go North</strong>
    #elseif ($foo == 10)
        <strong>Go East</strong>
    #elseif ($bar == 6)
        <strong>Go South</strong>
    #else
        <strong>Go West</strong>
    #end

Cheers,
Steve.

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

Reply via email to