Click to See Complete Forum and Search --> : redim an array


yan
03-25-2003, 11:19 AM
Hi All,
I am new to javascript. VB allow array to be redim and preserve existing values assigned to the array. Does java have the same capability? How do I code it? Thanks,

gil davis
03-25-2003, 12:11 PM
Javascript arrays do not need to be dimensioned. You do not have to declare a variable in order to create it.

There are methods for manipulating arrays. See http://developer.netscape.com/docs/manuals/js/client/jsref/array.htm for the definitions.