EasyManua.ls Logo

Sharp PC-1500 - Page 81

Sharp PC-1500
169 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...
All and more about Sharp PC-1500 at http:f/www.PC-1500.info
C.11. STATUS
To
display h
ow
mu
ch
program memory
you
tla
ve left
ava
ilable
or
how
mudl
memory a
program uses.
the
STATUS function
is
used. STATUS 0 will display
how
many
program .. steps ..
arc still availabl
e.
STATUS 1 displays t
he
num
ber
of
steps already used. The
max
imum
numb<?
r
of steps ava
il
ab
le
is
1850
.
Example:
STATUS
0
Outpu
t.
AUN
1
770
STATUS 1
Ou
tp
ut:
RUN
8 1
The instructi
on
STATUS 0
is
equivalent
to
the
MEM
comm
and of the
PC
-1211 .
MEM
remains
a valid
command
on
th
e
PC
-1500 also.
C.
12
. TIME
To
disp
lay
or
se
l 1hc month,
da
te, and hour the
TI
M E function
is
used
in
the following manner:
Settin
g:
TIME =
MMD
DHH.
MM
SS l
•i
<?J
Di
s
pl<iy
:
TIM
E
IE
••••
]
where:
MM
repr
esenu
tw
o digits for
the
mo
n
th
,
DD
two digits for
the
day, and
HH
two digits
for the hour. The
fractional
portion
de
fines
th
e minutes
(M
M) and seconds (SSI.
When d
is
play
ing
TIME. the
ou
tt
>u
t will be
in
the same format just giv
en
. The result of the
function can
be
ha
nd
l
ed
in
the same manner as a number and
~n
al
so
be
used freely
in
expressions.
The following prog
ra
m simulat
es
a clock. Be
su
1e to set
th
e time bcfol'e running the program.
Program
~
1s
1ing
~
10 WAIT 0
20
AS
=
STRS
TIME
30
IF TIM
E>
99999
TH
EN
50
40
AS
~
..
0
..
+ AS
50
MS 9 LEFTS (AS. 2)
60
OS
c
MI
DS
(AS. 3, 2)
70
HS
= MID$ (AS, 5,
21
80
DS$ - M
S+
"I"
+
DS
+ "
182"
90
OS - VAL (MS +
DS
+ "00"')
100
PR
INT
OSS;
110 T w TIME-
DS
79
Do
not sale this PDF!!!

Table of Contents

Other manuals for Sharp PC-1500

Related product manuals