velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From =?ks_c_5601-1987?B?wMyx4rW/?= <br...@3rsoft.com>
Subject Range operator
Date Wed, 07 Mar 2001 07:19:29 GMT
Hi, 
I'm new to velocity.

I have a question about range operator.
This code is working

    #foreach ($i in [1..10])
      $i
    #end

But, that code is not working

    #foreach ($i in [1..$var])
      $i
    #end

and I set $var to 10.

How do I work this code?

Thanks in advance.
Mime
View raw message