View Full Version : pushing values in array ??

07-03-2007, 01:24 PM
Hello forums !!
I would like to push the values in array(without specifying index).
Can anybody give me the suggestion.
Note: It should be equivalent to PHP's

$exp_array = array();
$exp_array[] = "value1";
$exp_array[] = "value2";
(without specifying indexes)

Thanks in advance to all of you.

Mr J
07-03-2007, 02:49 PM
myArray[myArray.length] will add to the end of myArray