Function
Shell
val saveImage: (string * bool) -> unit
saveImage (filename, executable?) -> ()
()
Saves the current session in the image file filename.
If executable? is true it saves an executable, otherwise it saves an image file.
If this function is called from the GUI, then when you restart the saved image, the GUI is restarted automatically.
A saved session takes the normal MLWorks command-line arguments.