Purpose
Specify or change the session name to be used for the log and script files and specify session save options
Syntax
SESSION { sesname } { PROMPT | REPLACE | NOSAVE } @
Arguments and Subcommands
sesname
the name to be used for the session log and script files. When the session is completed and you choose to save a session file, the log and script will be named sesname.log and sesname.mod where mod is an extension indicating the module used for the session (amf, gbo, pnt, or dtb for AMFIT, GMBO/PECAN, PEANUTS, or DATAB, respectively). If session files with same name already exist the old session files will be copied to files named sesname.log.bak and sesname.mod.bak. If they exist, earlier backup files for this session will be overwritten.
If the SESSION command is not used or it is used without a session name, the default session name is determined from the name of the script or BSF file used when the starting Epicure and the module type is determined by the module chosen (explicitly or implicitly) when the Epicure was started.
PROMPT
Prompt before saving the session files when Epicure is closed. With this option you can save the session files in the current directory with the default session name, or you can change either the session name or directory, or you can choose not to save the session files.
This is the default option.
REPLACE
Save the session files in the current directory on exit without prompting.
NOSAVE
Exit without saving the session files. Session files with the same name will not be affected when this option is used. NOSESSION is equivalent to SESSION NOSAVE @.
Remarks
If the session command is not given the session is name will be determined from the script or BSF file used when opening the program. During a session temporary files named sesname.log~ and sesname.mod~ are created to story the session information. They are updated once a minute. If the program exits normally these files will be deleted. This command replaces the LOG command from earlier versions of EPICURE.
The command NOSESSION is equivalent to SESSION NOSAVE @.