Sharp PC-1500A Instruction Manual page 102

Hide thumbs Also See for PC-1500A:
Table of Contents

Advertisement

All
and
more
about Sharp PC-1500
at
http://www.PC-1500.info
I. HAL TING PROGRAM EXECUTION
STOP, CONT
The STOP
statement causes the
computer
to suspend
the execution of a program. When
the
program
stops,
the
values of all
variables
arc
retained and
t
he
programmer rnay
inspect and
change
these.
The program
may then
be continued,
at the point
where it
was
halted.
w ith the
CONT
command.
When the
STOP
staternent is encountered by
the
computer a
message similar tto
the
following
is displayed
:
RVN
--
·
~
BREAK
IN
60
\Vherc 60
is
the
number
of
the
l
ine
which contains the
STOP
statement
.
If you wish
to
review
this
line.
depress
and
hold the
[D
(Up
Arrow I
key.
When the
BR
EA
K
message appears
you
may
also review
and
change the values oi variables. For
example
:
HO
I
ENTER
I
56.
AS
(
ENTER!
Whenever
you are
ready
to
resume
execution,
simply return
to
the prompt
1> I
and type
CONT
ENTER.
J
.
MODE CONTROL
LOCK, UNLOCK
The LOCK
inst<uction may
be
used to control the
mode
(RUN,
PROgram,
or RESERVE!
in
which the
computer
operat
es.
Included \Vithin
a
pro~ram
it
prevents the user
fr'om
accidentally
changing
the
mode and injuring the program.
The
LOCK instruction
disables
1ho MODE key,
"locking" the
computer
into
whateve
r
mode
it
is
currently
in.
To
re-enable
the
MODE
key,
the
UNLOCK ins'!ruction
is used.
UNLOCK
restores
the
normal
functioning,
allowi
ng changes
in
mode.
Either'
instfuction
may
be
used
as
a command
or
a
statement. The
forms
are
simply:
LOCK
UNLOCK
100
Do not sale this PDF
!!!

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents