
8.EDITING PROGRAMS OPERATION B-63784EN-1/01
- 266 -
Replacing all the occurrences of a character string without
confirming each occurrence
Procedure
Method 1
(1) Press the [ALTER] soft key.
(2) Key in the word or character string to be replaced. A list of
words can also be keyed in.
(3) Press the [(WORD)] soft key.
(4) Key in a new word or a character string. Multiple words can
also be keyed in.
(5) Press the [EXEC] soft key.
The system searches for the first occurrence of the character
string to be replaced and the cursor is positioned to the string.
If a list of multiple words is to be replaced, the cursor is
positioned to the last word.
(6) Press the [EXEC] soft key.
All the occurrences of the character string are replaced.
(7) To end the replacement before the completion of the search,
press the [STOP] soft key.
(8) When replacement ends, the total number of replacements is
displayed.
Method 2
(1) Press the [ALTER] soft key.
(2) Key in the word or character string to be replaced, followed
by a new word or character string, as shown in the example.
Multiple words to be replaced and multiple new words can
be entered.
Example: To replace G90 with G91, enter G90,G91.
(3) The subsequent steps are the same as (5) to (8) in method 1.
Method 3
(1) Key in the word or character string to be replaced, followed
by a new word or character string, as shown in the example.
Multiple words to be replaced and multiple new words can
be entered.
Example: To replace G90 with G91, enter G90,G91.
(2) Press the [ALTER] soft key.
The system searches for the first occurrence of the character
string to be replaced and the cursor is positioned to the string.
If a list of multiple words is to be replaced, the cursor is
positioned to the last word.
(3) The subsequent steps are the same as (6) to (8) in method 1.