velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lanxiazhi <lanxia...@gmail.com>
Subject Re: simple problem
Date Mon, 20 Jul 2009 07:22:19 GMT
we know this #set($a = $a + 1) will change $a which in some cases may not be
preferable...but thanks anyway.
2009/7/20 Alexander <the.malkolm@gmail.com>

> Hi,
>
> Use
>
> #set($a = $a + 1) [?]
>
>
> Correct me if Im wrong but if u use variable like this it would write
> "hello" on a single line, where is the problem? [?]
>
> #set($newline="hello")
>
> $newline
>
>

Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message