velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian French" <bfre...@ematic.com>
Subject Arrays in Velocity
Date Wed, 20 Mar 2002 21:39:47 GMT
hey, i notice you have documented how to assign an array to a variable,
#set( $monkey.Say = ["Not", $my, "fault"] ) ## ArrayList

is there a way to list out both the key and value in the variable?
ex:
#set( $monkey.Say = [1 = "Not","who" = $my, "what" = "fault"] ) ## ArrayList

Brian French

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