You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Steve Ruby <st...@rubysolutions.com> on 2001/01/29 22:02:52 UTC

Multi-line directive


Given that directives like #set() require the parens does it make sense
that such directives will ever be able to cross multiple lines?

such as
#set( $mylongvar = "this is a rather long 
string that takes multiple lines")

OR

#set ($myarray = ["one",
    "two",
    "three",
])


Is there some downside to being able to have the parser simply continue
to the end rather than choak on a newline?


Thaks