Re: [Pharo-users] Programatically abandoning

2015-03-06 Thread Laura Risani
Hi Ben , hi Alexandre , Excellent! I wasn't aware of the fact that the exception handling bubbles back to senders. Should reread that chapter. Love, Laura On Thu, Mar 5, 2015 at 8:22 PM, Alexandre Bergel wrote: > Hi! > > Simply put a block [ … ] on: Error do: [ ] > > For example: > > 10 timesR

Re: [Pharo-users] Programatically abandoning

2015-03-05 Thread Alexandre Bergel
Hi! Simply put a block [ … ] on: Error do: [ ] For example: 10 timesRepeat: [ [ 1 / 0 ] on: Error do: [ "do nothing" ] ] Cheers, Alexandre > On Mar 5, 2015, at 5:52 PM, Laura Risani wrote: > > Hi all, > > How can i within a method, programatically produce the same effect that > would ha

Re: [Pharo-users] Programatically abandoning

2015-03-05 Thread Ben Coman
(maybe ?) http://pharobooks.gforge.inria.fr/PharoByExampleTwo-Eng/latest/Exceptions.pdf search for "Abandon the protected block" On Fri, Mar 6, 2015 at 6:52 AM, Laura Risani wrote: > Hi all, > > How can i within a method, programatically produce the same effect that > would have abandoning a r