callback

Command: callback


Description

callback is a procedure which is called in the executive mode before
the input prompt appears.
It can be used for debugging. For example during development the user
might want to see the contents of the stack after each input.

callback is only called in the executive mode. It cannot be used to
trace the execution of a procedure. If this is what you want to do
use debug instead.

File
lib/sli/sli-init.sli
Examples

The following definition will display the stack before each prompt.

/callback {stack} def

The following definition will clear the callback.

/callback {} def