@ (Last Referenced Stack)

The @ command displays or assigns a value to the last referenced stack number. The @ symbol can be used in place of a stack number where a stack number is expected within an input command string. In addition, the stack number value associated with the @ symbol is updated every time a stack number is specified within an input command string.

Syntax

── @ ─┬──────────────────┬─────────────────────────────────────────────┤
      ├─────┬─┬─<number>─┤
      └─ = ─┘ ├─ @ ──────┤
              └─ $ ──────┘

Explanation

The following text describes the meaning of each construct:

@ = <number>

If <number> is a valid stack, then the last referenced stack is changed to <number>.

@ = @

The last referenced stack is set to itself.

@ = $

The last referenced stack is set to the last referenced segment, if the last referenced segment is the segment number for a valid stack.

STACK @ HiSTORY

The stack history for the last referenced stack is displayed.