Automatic Program In Itiation; Arun; Comparison Of Initiation Methods - Sharp PC-1500A Instruction Manual

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

Advertisement

All
and
more
about Sharp
PC-1500
at
http://www.PC-1500.info
Return
to
the RUN mode and begin the program
labeled X
by
typing
the month,
day, time,
and
DEF X:
co
c~
mm rn rn
8
rn
m
rn rn r
WJ
rn
This program will
set
the system clock to
whatever
time you specify
before the
DEF keystroke
(see TIME
function).
To
begin the
pro
gram
labeled
Z
tYPe
a
day of
the
week
and
DEF
Z:
B.
Automatic Program
Initiation
Not only may programs be
started
quickly and easily using
the
DEF
key. but
they
may be
started
totally aut<>matically when you turn the PC-1500A on.
To
cause
this
to happen, you use the ARUN statement.
This
statement
must
be the very
fi
rst
statement
in
the
pr<>gram
memory
or it
will
be ignored.
In
addition, several
other
conditions are
necessary
for the
A
RUN
statemen
t to work. These are
that
the
PC·
1500A
was tu rned OFF
while
in the RUN
mode,
and that
no
errors arc detected as the
PC· 1500A
is
turned ON.
The
folloi.vi
ng
program
uses
the ARUN statement to greet the computer
operato·
r :
Program
Listing:
10
ARUN
30
CLS
50
BEEP
5, 50
70
PRINT 'WELL, HI
TH
ERE!"
90
END
C.
Comparison of Initiation Meth<>ds
Although
the various
methods
of
beginning
a program superficially achieve ttrn same
result,
their
internal
opeiration differs.
In
order to exploit
these
differences
to
your advantage
it
is
necessary
to discus:s
the
storage of data w
ithin the
computer.
Also
included is
a section
comparing
the
various internal preparations which are made by the PC·
1500A before running
a
program.
134
Do not sale
this
PDF
!!!

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents