Hi Dan, Actually, the [1,2,3] syntax produces a List, not an Array. (just to be technical). So you can use List methods.
Try #set($item1 = [1,2,3]) #set($item2 = [4,5,6]) #set($list = [$item1, $item2]) WILL On 12/29/06, Spilka, Daniel <[EMAIL PROTECTED]> wrote:
Hello all... I'm new to velocity and am wondering if there is any support for multidimensional arrays? I get an error when trying to set one up like this: #set($arraytest = [[1, 2, 3], [4, 5, 6]]) Any ideas of ways to work around this if velocity doesn't work with multidimensional arrays out of the box? Thanks, -Dan
-- Forio Business Simulations Will Glass-Husain [EMAIL PROTECTED] www.forio.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
