The End of Part I

At the end of a session all variables created during it are lost when

>> Exit
GENIE exiting
$

is typed.

However, all the variables from one Open GENIE session can be saved into a binary image file. This is useful when a number of gcl procedures have been loaded, and will mean you don’t have to type Load "procedure.gcl" next time. This is achieved using the save()

>> Save "my_saved_session"

The session can be re-started by the command

genie "" "my_saved_session"

The "" are needed because the first argument can be used to load up a gcl file on start-up, instead of $HOME/genieinit.gcl. Thus you are able to define commands for different start-ups, for example

VMS: marigenie :== opengenie sys$login:mariinit.gcl

UNIX C shell: alias marigenie "genie $HOME/mariinit.gcl"