velocity-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr." <ge...@optonline.net>
Subject Re: concatenation eccentricity
Date Thu, 01 Mar 2001 04:31:23 GMT
John McNally wrote:
> 
> I had something similar to:
> 
> #set ( $a = "$b${c}foo.java" )
> #set ( $d = "$b${c}.java" )
> 
> if $b=boy and $c=cat
> this gives $a=boycatfoo.java and $d=boy${c}.java
> 
>  changing to
> 
> #set ( $d = "${b}${c}.java" )
> it works => $d = boycat.java
> 
> I have no problem with requiring the braces but not sure why it works
> for $a but not $d.
> 
> John McNally

Should be fixed now, so give it a whirl.  Thanks again.

geir

-- 
Geir Magnusson Jr.                               geirm@optonline.com
Developing for the web?  See http://jakarta.apache.org/velocity/

Mime
View raw message