SAVE.STACK

Top  Previous  Next

 

The SAVE.STACK command saves the current command stack.

 

 

Format

 

SAVE.STACK {stack.name}

 

where

 

stack.name        is the name to be given to the saved command stack. A prompt is issued if this name is omitted.

 

 

The SAVE.STACK command copies the current command stack to the $SAVEDLISTS file as a record named stack.name. The file will be created if it does not already exist. Any existing record of the same name will be overwritten.

 

 

Example

 

SAVE.STACK <<@LOGNAME>>

Command stack 'jsmith' saved in $SAVEDLISTS

 

This command saves the current command stack to a record with id as the user's login name in the $SAVEDLISTS file.

 

 

See also:

CLEAR.STACK, GET.STACK