Next: , Previous: Basic commands, Up: Command processor


2.4.2 Switches

The Scheme48 command processor keeps track of a set of switches, user-settable configurations.

— command: ,set switch
— command: ,set switch {on|off|?}
— command: ,unset switch
— command: ,set ?

`,set switch' & `,set switch on' set the switch switch on. `,unset switch' & `,set switch off' turn switch off. `,set switch ?' gives a brief description of switch's current status. `,set ?' gives information about all the available switches and their current state.

The following switches are defined. Each switch is listed with its name and its default status.

ask-before-loading (off)
If this is on, Scheme48 will prompt the user before loading modules' code. If it is off, it will quietly just load it.


batch (off)
Batch mode is intended for automated uses of the command processor. With batch mode on, errors cause the command processor to exit, and the prompt is not printed.
break-on-warnings (off)
If the break-on-warnings switch is on, warnings signalled that reach the command processor's handler will cause a command level to be pushed, similarly to breakpoints and errors.
inline-values (off)
Inline-values tells whether or not certain procedures may be integrated in-line.


levels (on)
Errors will push a new command level if this switch is on, or they will just reset back to the top level if levels is off.
load-noisily (off)
Loading source files will cause messages to be printed if load-noisily is on; otherwise they will be suppressed.