94 Programming
If
you key in
data
after
the program has stopped running,
remember
that
resuming program
execution
does
not
terminat
e
digit
entry
.
Thus,
the calculator will
assume
that
the digits in
the
program are
part
of
the
number
you
have
just
keyed in un-
less you
press
mIim after you key in
the
data
and before you
resume
running
the
program
,
or
there
is
an
mIim
in
the
program immediately
after
the
~
instruction.
Changing One Instruction
Changing
or
correcting one
step
of
your
program
is
easy
with
your
HP-25 calculator
because
ofthe
features built into it.
Once
the
error
has been found, use
mJ
or
mJ
in
PRGM
mode
or
ram
in
RUN
mode to display the step
preceding
the step to be
changed.
For
example, to change the instruction
in
step
06
, you
need to display step
05
.
If
you wish to change the step, simply
press
the
correct
key
or
keys for step 06.
They
will write
over
and replace the incorrect information already stored
in
that step.
If
step
06
is
an
extra
step
in
your
program, press m
~
(no
operation).
This
instruction tells the calculator not to perform
any operation here.
Example Program.
The
program
represented
below
is
de-
signed to take the
cube
root
of
a number.
Press Display
mIim 1
01
311
[2]
102 031
m
[KJ
1
03
' 15
22
1
D
CZl
104
14
031
Suppose
that
upon
reviewing the program with the
mDkey
,
however
, you discover you have keyed
in
the following mis-
take-ridden program :
Press
Display
mIim
1
01
31 1
[2]
1
02 03
1
m ~
1
03
15
211
Oops!
You
pressed
the wrong
key.
mJ
104
211
And
you
pressed
it aga
in
by
mistake.
D
CZl
105
14
·
03
1