Exit loop

Tom Phoenix rootbeer at redcat.com
Sun Oct 7 22:43:57 UTC 2007


On 10/7/07, Javier Reyes <jreyes at virtual-fashion.com> wrote:

> I am trying to create a button or morph that when pressed stores the present
> Squeak image and exits Squeak.

This works for me:

  TheWorldMenu new saveAndQuit

But if you want to go one level lower, you could use this:

  SmalltalkImage current snapshot: true andQuit: true

Hope this helps!

--Tom Phoenix



More information about the Squeak-dev mailing list