On Friday 10 April 2009 9:18:29 am Randal L. Schwartz wrote:
> In Squeak, i in the block will refer to the i in the do: block and the
> last statement will print 25 because i would be 5 when do: terminates.
>
> Not necessarily. I could see an implementation where i would be 4.
Possible. I just used Squeak 3.8/Etoys 4.0 as examples where i becomes 5 when 
the iteration terminates.

Subbu
_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners

Reply via email to