Save Command

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Save Command

Serdar Şahin-2

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,

 

 


_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

RE: Save Command

Serdar Sahin

Hi,

 

I have found it on “implementors of it” menu.

 

SmalltalkImage current snapshot: true andQuit: false

 

That command helps..

 

Serdar,


From: [hidden email] [mailto:[hidden email]] On Behalf Of Serdar Şahin
Sent: Monday, August 07, 2006 12:43 AM
To: [hidden email]
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,

 

 


_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

RE: Save Command

Ron Teitelbaum
In reply to this post by Serdar Şahin-2

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

[hidden email]

 


From: [hidden email] [mailto:[hidden email]] 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: [hidden email] [mailto:[hidden email]] On Behalf Of Serdar Şahin
Sent: Monday, August 07, 2006 12:43 AM
To: [hidden email]
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,

 

 


_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners