5-4 Program Editing
• Program editing is the performance of changes/additions/deletions in line number
units or changing of line numbers in order to permit programs to be logically
executed.
• Program editing is performed by calling out each line using a LIST command.
• The L IST c omm and ca n b e us ed in bo t h t he RUN mo de and t h e W RT mod e. Whe n
used in the RUN mode, the program contents will be displayed and when used in the
WRT mode, it will permit program editing.
1. Program list display in the RUN mode
Operation:
LISTSa
10 INPUT A R Displayed for approxi-
mately 2 seconds (same
(LIST may be input by pressing 20 V=A+B
f k i m i n r i j i a j o r i _
30 W=A-B
for the following)
40 PRINT V,W
50 END
READY P0
If the list is not required from the beginning, designate the line number.
To l i s t f r o m l i n e 3 0
Operation:
LIST 30®
30 W=A-B
40 PRINT V,W
50 END
READY P0
• During LIST command execution, each line will be sequentially displayed, so if you
want to stop, press the li^ Key.
To resume the stopped LIST command, press the GDI Key.
2. Program change/addition/deletion in the WRT mode
Designate the WRT mode by pressing ^(3D •
0 Change
Each time the ® Key is pressed, one line will be displayed starting from the line which
was designated using a LIST command.
If the line number designation is omitted, the display will begin sequentially from the
first line.
-34-