Chris et all,
Thanks for the solutions, and for the heads up on the
novice mistake addressing array elements. Time to
start checking back through my scripts for that one.
Many thanks,
Richard
--- Chris Nandor <[EMAIL PROTECTED]> wrote: > At 16:10
+ 2001.11.09, Richard Smith wrote:
> >This
On Fri, Nov 09, 2001 at 04:10:31PM +, Richard Smith wrote:
> 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] + @arra
On Fri, Nov 09, 2001 at 04:10:31PM +, Richard Smith wrote:
> 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] + @arra
At 16:10 + 2001.11.09, Richard Smith wrote:
>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] + .