dear all

a_array=[2,4,6,8,10]
I want to sum the elements of the array:
2+4+6+8+10
how to write the script?

many thanks!
best regards
Edward

-- 
Posted via http://www.ruby-forum.com/.