GET.STACK

Top  Previous  Next

 

The GET.STACK command restores a previously saved command stack.

 

 

Format

 

GET.STACK {stack.name}

 

where

 

stack.nameis the name of the saved command stack. A prompt is issued if this name is omitted.

 

 

The GET.STACK command replaces the current command stack with the record named stack.name from the $SAVEDLISTS file. The previous content of the command stack is discarded.

 

 

Example

 

GET.STACK <<@LOGNAME>>

Command stack restored from 'jsmith'

 

This command restores the command stack from a record with id as the user's login name in the $SAVEDLISTS file.

 

 

See also:

CLEAR.STACK, SAVE.STACK