velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prof. Robert John Lancashire" <robert.lancash...@uwimona.edu.jm>
Subject foreach loop query
Date Mon, 22 May 2006 14:33:27 GMT
Hi,

is there a way to avoid linefeeds when iterating through the loop?


I have a set of XY coordinates that I want to write out as a set
of individual values on ONE line or say 10-20 values on a SINGLE line.

  	#foreach ($coord in $xyCoords)
            $coord.getYString()
	#end

gives me one value on separate lines and with 32,000 values that is a lot of lines...

Any help appreciated

Robert

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message