really silly question

John Hinsley jhinsley at telinco.co.uk
Fri Aug 31 02:36:19 UTC 2001


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