line continuation

3 messages Options
Embed this post
Permalink
pgupta2010

line continuation

Reply Threaded More More options
Print post
Permalink
I am coding a freemarker template for creating a fixed length text output. Is there a line continuation symbol/character I can use in the *.ftl file alongwith line breaks that does not cause corresponding line breaks in the output ?
If not, there is danger of the template file code becoming difficult to read and maintain. Any ideas/thoughts ?

-PGupta2010  
Daniel Dekany

Re: line continuation

Reply Threaded More More options
Print post
Permalink
Thursday, September 24, 2009, 12:18:42 AM, pgupta2010 wrote:

> I am coding a freemarker template for creating a fixed length text output. Is
> there a line continuation symbol/character I can use in the *.ftl file
> alongwith line breaks that does not cause corresponding line breaks in the
> output ?

For example:

this is <#t>
a long line.

> If not, there is danger of the template file code becoming difficult to read
> and maintain. Any ideas/thoughts ?

Use #t/#rt/#lt.

> -PGupta2010  

--
Best regards,
 Daniel Dekany


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
FreeMarker-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freemarker-devel
pgupta2010

Re: line continuation

Reply Threaded More More options
Print post
Permalink
Thanks Daniel, that worked

Daniel Dekany wrote:
Thursday, September 24, 2009, 12:18:42 AM, pgupta2010 wrote:

> I am coding a freemarker template for creating a fixed length text output. Is
> there a line continuation symbol/character I can use in the *.ftl file
> alongwith line breaks that does not cause corresponding line breaks in the
> output ?

For example:

this is <#t>
a long line.

> If not, there is danger of the template file code becoming difficult to read
> and maintain. Any ideas/thoughts ?

Use #t/#rt/#lt.

> -PGupta2010  

--
Best regards,
 Daniel Dekany


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
FreeMarker-devel mailing list
FreeMarker-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freemarker-devel