really silly question

Andrew C. Greenberg werdna at mucow.com
Fri Aug 31 04:44:26 UTC 2001


How about #+?

On Thursday, August 30, 2001, at 10:36  PM, John Hinsley wrote:

> Given two arrays of the same size filled with numbers, can someone give
> me a code snippet that will show me how to add the numbers at the same
> index to produce a third array?
>
> So that firstArray:= #(1 2 3 4)
> 	secondArray:= #(5 6 1 2)
>
> will result in a thirdArray (6 8 4 6)
>
> Cheers
>
> John
>
> (hangs head in shame....)
> --
> Can't cope anymore? Desperate for help?
> Join the 12 step program for those who yearn to give up Microsoft:
> http://home.earthlink.net/~penguinrox/index.html
>
>




More information about the Squeak-dev mailing list