[Newbies] Nested Intervals

Bert Freudenberg bert at freudenbergs.de
Thu Mar 13 13:49:38 UTC 2008

On Mar 13, 2008, at 14:10 , Peter Stewart wrote:

>             How do I nest Intervals so that I may reference a Matrix  
> an element at a time? Matrix at: i at j.  Thanks.

1 to: matrix height do: [:j |
	1 to: matrix width do: [:i |
		(matrix at: i at: j) doSomething]]

Or did I misunderstand your question?

- Bert -

More information about the Beginners mailing list