Function
hcl
save-image filename &key gc type normal-gc restart-function console environment remarks clean-down => nil
A string. It is the name of the file that the image is saved as. This name should not be the same as the original name of the image.
If non-nil, there is a garbage collection before the image is saved. The default value ist.
Determines if some global variables are cleared before the image is saved. You can generally use the default value, which is:user.
If this ist the functionnormal-gc is called before the image is saved. The default ist.
Specifies a function (with no arguments) to be called when the image is started. The default isnil. Therestart-function is called after the init-file is loaded.
console controls whether the new image will be a Console or GUI application and when, if ever, to make a console window in the latter case. Possible values are discussed below.
environment controls whether the LispWorks environment is started on restart. Possible values are discussed below.
remarks adds a comment to the save history. The value should be a string.
Whent, calls(clean-down t).
nil.:default Unchanged since previous save.
t A Console application is saved, else a Windows application is saved which create its own console according to the other possible values.
:input,:output,:io Whenever input, output or any io is attempted on*terminal-io*.
:init At startup, if input and output are not redirected
:always At startup, even if input and output are redirected.
:input. :default Unchanged since previous save.
nil Start with just the TTY listener.
t Start the environment automatically, no TTY listener.
:with-tty-listener Start the environment automatically, but still have a TTY listener.
t. save-image has returned. my-file.lisp, then run LispWorks with the command line argument-init c:/my-file.lisp to build the imagemy-image.exe. (load "my-application") (save-image "my-image") (quit)