How to halt only if shift is pressed?

Posted by Joe on Stack Overflow See other posts from Stack Overflow or by Joe
Published on 2010-04-10T15:52:51Z Indexed on 2010/04/10 16:03 UTC
Read the original article Hit count: 315

Filed under:
|

Hi, in Pharo I'd like Object>>halt to halt only if shift is pressed, so that I don't break down my image. How do I do that?

So, for example, I'd like to be able to add a self halt. into Array>>add:, without losing my image.

© Stack Overflow or respective owner

Related posts about pharo

Related posts about smalltalk