EasyManua.ls Logo

Radio Shack PC-2 TRS-80 - Page 39

Radio Shack PC-2 TRS-80
109 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
(SHIFT) CD (PI)
can
be
accessed
from
any
of
the
Operation Modes.
CD also
has
several
other
features.
For
instance,
if
you
stop program execution (in RUN Mode)
by
pressing
BREAK,
the
Display
will
indicate the
program line in which
the"break"occurred.
Press
(MODE)
to
go
to
PROgram Mode, then
press
CD (or CD
).
The
program line where the break occurred
will
be displayed and the Cursor
will
be
positioned in the exact part
of
the
line where execution stopped.
Press
CD again and the
next
program line
will
be
displayed.
(Press
CD and
the
previous program line
will
be displayed.)
Whenever
the
PC-2
encounters
an
error in a program line,
an
error
message
(which indicates
which
error and which
program line)
will
be
displayed.
Press
(el)
(to
clear the Display) and
(MODE)
(to
enter PROgram Mode). Then
press
CD
(or
CD )and
the
program line
which
contains the error
will
be displayed. Furthermore, the Cursor
will
be on
top
of
the
part
of
the
line which generated
the
error
message.
You
can
then correct
the
program line.
If
you
ever need
to
"single-step" through a program,
press
BREAK
after
the program
has
begun execution, then
press
(g::)
to
clear
the
Display. When the Ready
prompt
appears, press CD and the
next
program step
will
be
executed.
Press
it
again and the
next
step
will
run.
You'll
find
this technique especially
helpful
when
"debugging"
programs.
CD
Display the
Last/Next
Lower Program Line
Whenever
the
PC-2
is
in
the
PROgram Mode,
you
can
press
CD
to
display the last line
of
the program.
You
can
then press CD
to
scoll
"up"
through
the program.
35

Table of Contents

Related product manuals