Editing
a
Program
You
can modify a program in program memory by inserting and de
leting program lines. Even if a program line requires only a minor
change, you must delete the old line
and
insert a
new
one.
To
delete
a
program
line:
1. Select the relevant program or routine
(H|gto|
label),
activate
program entry
(BHprgmI),
and press
[r)
or
HH
to locate the
programline that must be changed. Hold the arrow key down to
continue scrolling. (If you know the line number you want,
pressing
Higto
IQ]
label
nn
moves
the
program
pointer
there.)
2.
Delete
the line
you
want to
change
by
pressing
g).
Thepointer
then
moves
to the
preceding
line. (If you are deleting more than
one
consecutive program line, start with
the
last line in
the
group.)
3.
Key
in the new
instruction,
if
any.
This
replaces
the one
you
deleted.
4. Exit program entry ([c] or Hi prgm
I).
To insert a program line:
Locate
and
display
the
program
line that
is
before
thespot whereyou
would
liketo inserta line.
Key
in the new
instruction; it is inserted
after
the currently displayed line.
For example, if you wanted to insert a new line between lines A04
and
A05
of a
program,
you
would
first
display
line
A04,
then
key
in
the instruction or instructions. Subsequent program
lines,
starting
with the original line A05, are moved
down
and
renumbered
accordingly.
5:
Simple
Programming
83