[Newbies] Infinite loops

obrienj obrienj at protonmail.com
Thu Dec 7 16:59:34 UTC 2017

I’m using a MacBook Pro and can’t find a way to escape an infinite loop such as this:

x := 0. [x >= 0] whileTrue: [x := x +1. Transcript show: 'infinite loop ', x; cr]

The the interrupt key (Alt- or Cmd-) does not work, instead I have to force quite Squeak.  Is there a reliable to way to escape an endless loop?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/beginners/attachments/20171207/e2248618/attachment.html>

More information about the Beginners mailing list