You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by "Geir Magnusson Jr." <ge...@optonline.net> on 2002/03/18 17:54:23 UTC

Re: array element access

On 3/18/02 11:43 AM, "Sebastien Chassande-Barrioz"
<se...@inrialpes.fr> wrote:

> Hi,
> 
> I would like to know how to access an element of an array.
> How to do :
> $myArray[3]

You can't with that notation.

$myArray.get(3)  should work

-- 
Geir Magnusson Jr.                       geirm@optonline.net
System and Software Consulting
You're going to end up getting pissed at your software
anyway, so you might as well not pay for it. Try Open Source.



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>