[Newbies] Infinite loops

Bert Freudenberg bert at freudenbergs.de
Fri Dec 8 15:44:17 UTC 2017


On Thu, Dec 7, 2017 at 5:59 PM, obrienj <obrienj at protonmail.com> wrote:

> 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?
>

​On a Mac it's Cmd and Period:
[image: Inline image 1]
- Bert -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/beginners/attachments/20171208/573e7376/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmd-period.jpg
Type: image/jpeg
Size: 37676 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/beginners/attachments/20171208/573e7376/attachment-0001.jpg>


More information about the Beginners mailing list