velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davide Mora <>
Subject know when i'm in the last element of a set
Date Mon, 26 Mar 2001 15:12:58 GMT


i'm new to Velocity. I'm trying to generate SQL, so i
need to know when i have to add the "comma" for the
last parameter, something like that:

#foreach ( $table in $sqlTables )
 #foreach( $column in $table.columns )
   $ $column.type,

But how i can detect when i don't have to add the ","
for the last column?

Thank you!

Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.

View raw message