OPERATION
B–64124EN/01
9. EDITING PROGRAMS
617
Replace one or more specified words.
Replacement can be applied to all occurrences or just one occurrence of
specified words or addresses in the program.
Procedure for hange of words or addresses
1 Perform steps 1 to 5 in III–9.6.1.
2 Press soft key [CHANGE].
3 Enter the word or address to be replaced.
4 Press soft key [BEFORE].
5 Enter the new word or address.
6 Press soft key [AFTER].
7 Press soft key [EXEC] to replace all the specified words or addresses
after the cursor.
Press soft key
[1–EXEC] to search for and replace the first occurrence
of the specified word or adress after the cursor.
Press soft key
[SKIP] to only search for the first occurrence of the
specified word or address after the cursor.
[CHANGE]
X
1
0 0
[BEFORE]
Y
2
0 0
[AFTER][EXEC]
[CHANGE]
X
1
0 0 Y
2
0 0
[BEFORE]
X 3
0
[AFTER][EXEC]
[CHANGE]
I
F
[BEFORE]
W
H
I
L
E
[AFTER]
[EXEC]
[CHANGE]
X
[BEFORE]
,
C
1
0
[AFTER][EXEC]
9.6.6
Replacement of
Words and Addresses
EXEC
BEFORE
CHANGE
AFTER
1–EXECSKIP
Examples
D Replace X100 with Y200
D Replace X100Y200 with
X30
D Replace IF with WHILE
D Replace X with ,C10