GNU Smalltalk image save state

116 Views Asked by At

Working thro the guide making a new class. I can make a new or load an image file (.im) using gst command. I type in the code to make a Account class and can make a new class.

Question How do I save the class to the loaded image before closing gst window.

Next time I run gst the Account class is gone, and any instance, (a := Account new) I made is also gone.

1

There are 1 best solutions below

0
Leandro Caniglia On BEST ANSWER

The simplest way to save the image is by sending the message

ObjectMemory snapshot