Save()

Saves a complete Open GENIE image file with all variables and procedures.

SAVE filename=String Save a frozen image of the current Open GENIE

example:

	# Save the current session
	>> Save "mygenie.im"
	Saving GENIE in file mygenie.im ...
	>>

Note: Saving an image after loading a large number of procedures can give a quicker startup.

Save

The save command saves a binary image of the complete internal state of Open GENIE. It is most useful when quite a large number of GCL procedures have been loaded as part of a major program. To save time on startup, use the Save() command to create an image immediately after starting Open GENIE and loading the necessary GCL files.

Open GENIE can be re-invoked with the new image containing all the procedures by the command

$ genie "" mygenie.im

or by defining the symbol or logical name GENIE_SMALLTALK_IMAGE to point to the file. Note that if an image is not found, Open GENIE willl usually start up with some errors.

Parameters:

Filename (String)

File to save the binary image in, convetionally ending with ".im"