>>>>> "Nicolas" == Nicolas Cellier <[EMAIL PROTECTED]> writes:
Nicolas> For the fun of it, see also Nicolas> http://article.gmane.org/gmane.comp.lang.smalltalk.gnu.general/3375/match=break Oww. I remember that. It makes my head hurt. You could even go further: Object >> valuedEscaper: aBlock ^ aBlock value: [ :finalValue | ^finalValue ] ... found := self valuedEscaper: [:escape | 1 to: 10 do: [ :x | x = 3 ifTrue: [escape value: true]. ] false]. Oh geez. I think I just reinvented continuations. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/> Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion _______________________________________________ Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners