STACK command

Syntax: STACK filename
STACK OFF
STACK ON
Qualifiers: \APPEND
Defaults: \-APPEND

After the STACK command is entered, all subsequently entered commands, and most of the actions performed on gui forms, will be written to the stack file. This stack file can later be executed with the @filename command. Thus, the STACK command is a way of interactively creating a script command file. To turn off the stacking feature, use the STACK OFF command. To turn stacking back on, using the same stack file, enter the STACK ON command, and subsequent commands will be appended to the previously opened stack file.

Use the \APPEND qualifier to append subsequent commands to the specified file.

By default, if no extension is supplied on the filename, the value of the characteristic STACKEXTENSION will be appended to the file name. The default value of STACKEXTENSION is stk.