[Newbies] Save Command

Ron Teitelbaum Ron at USMedRec.com
Sun Aug 6 15:50:28 UTC 2006


Sedar,

 

Very good I'm glad you found it on your own.  

 

The method is a very interesting one and worth some comments for newbies.
One thing to understand about Smalltalk is that it is always running.  This
might sound odd but it's true.  We use Smalltalk under normal conditions to
program Smalltalk.  This method of saving an image does something really
cool.  It only suspends the image, taking a snapshot of the current state,
so that it can resume right were it left off.  When you think about this
method you would assume that it just writes what's there and exits, but
notice that this method is also used for start up, since when this method
actually exits you have restarted the image.  You can think of it as a stop
sign in the image that is right in the middle of this method.  You stop at
the sign: save, and then restart and continue right from the middle to
continue.

 

It's very cool!

 

Happy coding!

 

Ron Teitelbaum

President / Principal Software Engineer

US Medical Record Specialists

Ron at USMedRec.com 

 

  _____  

From: beginners-bounces at lists.squeakfoundation.org
[mailto:beginners-bounces at lists.squeakfoundation.org] On Behalf Of Serdar
Sahin
Sent: Sunday, August 06, 2006 10:52 AM
To: 'A friendly place to get answers to even the most basic
questionsaboutSqueak.'
Subject: RE: [Newbies] Save Command

 

Hi,

 

I have found it on "implementors of it" menu.

 

SmalltalkImage current snapshot: true andQuit: false

 

That command helps..

 

Serdar,

  _____  

From: beginners-bounces at lists.squeakfoundation.org
[mailto:beginners-bounces at lists.squeakfoundation.org] On Behalf Of Serdar
Şahin
Sent: Monday, August 07, 2006 12:43 AM
To: Beginners at lists.squeakfoundation.org
Subject: [Newbies] Save Command

 

Hi Again,

 

Does SmallTalk/Squeak have any "save image" command ? I inspected save
button to understand how can it save the image, but i could not find
anything. I have found SaveSession command, but it could not save anything. 

 

Thanks,

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20060806/99d4950c/attachment-0001.htm


More information about the Beginners mailing list