Thank you for your answers, I also found a solution by extending the Number class like this:
Nice solution (together with Lukas's). Has the advantage that *you* were able to make it up!
1 to: 10 do: [:x | x printNl.] butPleaseExitIf: [:x | x = 3.]
Or #to:do:whileFalse: Paolo _______________________________________________ help-smalltalk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-smalltalk
