CROSSREF Manual

CROSSREF COMMANDS
Example
FC COMMAND
The FC command allows you to edit or repeat a command. The
syntax of the FC command is:
FC
Considerations
The FC command works the same way in CROSSREF as it does in the
command interpreter or EDIT. When you enter FC, the FC prompt
appears on the next line followed by the last command that you
entered. The FC prompt is a period (.). You can enter the
subcommands I, R, or D to edit the displayed line. I inserts
characters, R replaces characters, and D deletes characters. See
the
GUARDIAN 90 Operating System User’s Guide
for details.
Example
The following example shows how to change LITTERALA ON to SET
LITERALS ON.
&LITTERALA ON
^
**** ERROR **** Invalid syntax
&FC
.LITTERALA ON
. D deletes the extra letter T
.LITERALA ON
.ISET inserts the command SET (see * below)
.SET LITERALA ON
. RS replaces the letter A with S
.SET LITERALS ON
. executes the command
* You must type a blank space after ISET to insert a blank before
LITERALA ON.
4-11