Firefly
Firefly

Reputation: 99

GNU Smalltalk image save state

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.

Upvotes: 3

Views: 137

Answers (1)

Leandro Caniglia
Leandro Caniglia

Reputation: 14858

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

ObjectMemory snapshot

Upvotes: 2

Related Questions