I am all +1 for this!
> In VTL, you can create two kinds of array objects, an 'Object Array',
> and a 'Range' :
>
> #set( $foo = ["a","b","c"] )
> #set( $foo = [1..5] )
>
>[snip]
> What I want to do is change the implementation of ObjectArray and Range
> from Object[] to ArrayList, so we can then access the size() member, and
What happens with a:
#set( $foo = [] )
Will this be an empty ArrayList ?
I would also vote in favour of a #set( $foo = {} ) usable to create
a Map that can be populated via #set( $foo.KEY1 = "xyz" )... but this
seems to be another issue :)
Some of you have strong feelings against allowing the ASTSetDirective
checking for a put method (ASTIdentifyer already has th notion of the
get method!). Anyone in favour of adding the put notion to ASTSetDirective?
:) Christoph