Yes, ## comments out the newline and any other trailing text. On 11/10/05, Jenny Mathew -X (jenmathe - Infosys at Cisco) <[EMAIL PROTECTED]> wrote: > "##" seems to provide the line continuation ability. Probably with a " " > prepended so as to ensure that the arguments are separated by white > space > > #set($command="foo") > #set($args2="bar") > #set($args1="bar") > #set($args3="bar") > #set($args4="bar") > > $command $args1 ## > $args2 ## > $args3 ## > $args4 > > Gives the following output > foo bar bar bar bar > > -----Original Message----- > From: Jenny Mathew -X (jenmathe - Infosys at Cisco) > Sent: Thursday, November 10, 2005 11:21 AM > To: Velocity Users List > Subject: Is there a line continuation character in Velocity? > > Hi, > > I have a situation where some lines in the template script may be quite > long and for readability purposes we would like to write part of the > line on the next line but the merged output should be displayed as a > single line. > > Is there a way to ensure that the same line is stored in the > StringWriter after the merge process as a single line? In otherwords is > there a line continuation character in velocity? > > > Thanks in advance! > Jennifer > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]