I have an array of SmallIntegers, and I need to multiply each object in the array by the next.&nbsp; Each object is a factor, and i need to get to the final number, then store that number in a variable and display it on the transcript.<br>
<br>display<br>&nbsp;&nbsp;&nbsp; array do: [:in| self num: num * in. ].<br>&nbsp;&nbsp;&nbsp; Transcript cr; show: &#39;The factors are: &#39;; show: stream contents; cr.<br>&nbsp;&nbsp;&nbsp; Transcript show: &#39;The final number is: &#39;; show: num; cr.<br clear="all">
<br>the stream is on the array<br>-- <br>David Zmick<br>/dz0004455\<br><a href="http://dz0004455.googlepages.com">http://dz0004455.googlepages.com</a>