This seems such an obvious operation, but the syntax
escapes me. I have an array of up to 6 values, which I
want to add together. I am sure there must be a
shorthand version of this:

$result = @array[0] + @array[1] + @array[2] +
@array[3] + ...etc

Any help would be much appreciated.

Richard

=====


__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page from News and Sport to Email and Music 
Charts
http://uk.my.yahoo.com

Reply via email to