?RETRIEVE

Syntax

── ? ── RETRIEVE ─┬────────┬─┬─────────────────────────┬───────────────%
                  └─<ste#>─┘ └─ REPEAT ─┬──────────────┤
                                        └─<edit specs>─┘

Explanation

The ?RETRIEVE command retrieves the saved text entry indicated by the saved text entry number <ste#> from its current position in the user's saved text queue and makes it the most recent entry. The specified <ste#> must be greater than 0 and less than or equal to the greatest <ste#>. If no <ste#> is provided, the number 1 is assumed.

If ?REPEAT is specified, the retrieved saved text is processed as the next line of input. If editing specifications are provided, this text is edited and displayed before being processed. Refer to the FIX command in CANDE Commands for an explanation of <edit specs>.

The ?RETRIEVE command cannot be used while the station is busy or is in sequence mode.

Example

?SHOW ALL
[2]rem sch/payroll/3*
[1]run*
<0>list*
#
?RETRIEVE 2
#
?SHOW ALL
[2]run*
[1]list*
<0>rem sch/payroll/3*
#