H-10. REPLACE SUBCOMMAND
This subcommand allows the operator to find a phrase of 1 to 20 characters in the message
text, and to replace that phrase with a second phrase of 0 to 40 characters.
a. The system searches the current and following lines to find the phrase. The phrase must
be on one line. The pointer is moved to this line. The characters in the first phrase are replaced
by the characters in the second phrase.
b. If the new phrase causes a line length to be exceeded, a carriage-return is inserted. This
creates a new line. The line pointer is moved to the new line. The new phrase is printed.
c. If the first phrase cannot be found, error message No. 4 is printed, and the subcommand is
d. Neither phrase may contain a carriage-return character, and the first phrase must contain
at least 1 character, or error message No. 5 is printed.
e. If an entire line is deleted, the system deletes the carriage-return. The line pointer and
printing are set as if the DELETE subcommand had been executed (see paragraph H-7, DELETE
f. The keystroke sequence for the REPLACE subcommand is either (1) or (2) below:
(1) b0REPLACEb 2DELIMITER phrase 1 DELIMITER phrase 2 DELIMITER b0 CR - (to replace
one phrase with another phrase. )
(2) b0 REPLACEb 2DELIMITER Phrase 1 DELIMITER DELIMITERb0 CR- (to delete the
phrase without replacing it. )
g. The shortest acceptable form of the subcommand is REP.