Inspect Manual

High-Level Inspect Commands
Inspect Manual429164-006
6-87
Default Value
In the example, the D commands delete “SHOW”; the first I command inserts a
“Watch” before “VARS.” The two slashes indicate the end of this insertion. The
second I command inserts the string “; RESUME” before the quotation mark that
terminates the alias's replacement string. After you press the RETURN key, Inspect
redisplays the editing template and prompts you for any further changes. Because the
command is now correct, make no changes before you press RETURN; Inspect then
executes the modified command.
Replacing and Inserting Text without Using D, I, and R
You can enter a replacement string on the editing line without using the R command.
You can also insert text at the end of the line by typing it in without using the I
command; for example:
However, if your proposed replacement or inserted text begins with any of the letters D,
I, or R (or their lowercase counterparts), Inspect considers that letter to be an editing
command, and you do not get the result you want; for example:
The intent of this Fix command was to change the code units in the STEP command
from STATEMENTS to INSTRUCTIONS. However, Inspect read the I in
“INSTRUCTIONS” as the I command, and so inserted “NSTRUCTIONS” in front of
“STATEMENTS” instead. At this point, rather than trying to execute or edit the
command, you can enter two slashes and press the RETURN key. The FC command
terminates and Inspect prompts for a command. All changes to the line are
abandoned.
Usage Consideration
Aliases are not expanded with the FC command.
Related Commands
HISTORY on page 6-93
LIST HISTORY on page 6-135
XC on page 6-224
-PRG-FC
-D currec.next.
M
-M currec.next
= 0
-M currec.next = 0
.
-PRG-FC
-STEP 5 STATEMENTS
. INSTRUCTIONS
-STEP 5 NSTRUCTIONSSTATEMENT
.