
OPERATION
B–61404E/08
9. EDITING PROGRAMS
494
This section outlines the procedure for inserting, modifying, and deleting
a word in a program registered in memory.
Procedure for inserting, altering and deleting a word
1 Select EDIT mode.
2 Press function
PRGRM
key and display the program screen.
3 Select a program to be edited.
If a program to be edited is selected, perform the operation 4.
If a program to be edited is not selected, search for the program
number.
4 Search for a word to be modified.
⋅ Scan method
⋅ Word search method
5 Perform an operation such as altering, inserting, or deleting a word.
A word is an address followed by a number. With a custom macro B, the
concept of word is ambiguous.
So the editing unit is considered here.
The editing unit is a unit subject to alteration or deletion in one operation.
In one scan operation, the cursor indicates the start of an editing unit.
An insertion is made after an editing unit.
Definition of editing unit
(i) Program portion from an address to immediately before the next
address
(ii)An address is an alphabet,
IF, WHILE, GOTO, END, DO=,or ; (EOB).
According to this definition, a word is an editing unit.
The word “word,” when used in the description of editing, means an
editing unit according to the precise definition.
To insert or modify a word during editing, the following data is entered.
D
When the standard key panel is being used
One word (a single alphabetic character followed by a numeric value
or symbol) is entered.
D
Editing B with the standard key panel
Even if the standard key panel is being used, editing B can be enabled
by specifying bit 7 of parameter 018 accordingly. Two or more
addresses can be input at one time. If the
INPUT
key is pressed after a
single word (a single alphabetic character followed by a numeric value
or symbol) is input, another word can be input. After all data has been
entered, press the edit key to start editing.
9.1
INSERTING,
ALTERING AND
DELETING A WORD
Procedure
Explanations
D Concept of word and
editing unit
D Data input during editing