EasyManua.ls Logo

Sharp PC-1500 - Page 90

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...
A
ll
and more about Sharp PC-1500
at
http://www.PC-1500.info
F.3. CLS (Clear Screen)
The
CLS
statement
erases the d
is
pl
ay
by
turn
ing off
all
of
the
do
ts
on
the wi
ndow.
It
is
used
before other statements
to
remove any
n~sidua
l
data from the display. The cursor is repositioned
to the i
eft
of
the
sc
reen by the
CLS
comma
nd
.
Th.c
f
or
mat
is
simply
CLS.
Demon
str
at
ion
Program
Keystrokes:
10 GPRINT
"7F7F7F7F7F"
20
CLS
30
PRINT "NEW INFO"
rnrn~
m
rn rn oo
rni
••on
lc:JWW
rn
ruruw
CD
[IJ
CD
Cf]
I
SHIH
I
C!J
, ..... 1
rnrn
mmm1
., ..
1
G[)[lD[PJ
[jiJITJ!JO
01
l
sHIFT
I
c:J
!JO
fTI[ii)
IS
..
CE
I
fTI l...!()
CD
{][]
(
SH
rT
I
c:J
l
••n•
I
F.4. GCURSOR
T
he
GCURSOA
statement
specifies
one
of the·
156
columns
of
dots,
available on
the
displ
ay,
as the beginning
co
l
um
n for any
subsequent
display of i
nformation
. The format
of
t
he
GCURSOR
ins
truction
is
:
GCU RSOR
pos
i tion·expression
where;
position
-e
xpressi
on
evalu
ates
to a number
in
the
ra
nge O to
155.
ll'is
number
specifies one of
the 156 7·d
ot
co
l
umns
of t
he
display.
NOTE
:
If
a position·expression
res
ults in a
numl>er
i..vh
ich is less tha1) O
or
greater than
155.
an
ERROR
19will
occur.
T
he
GCURSOR
statement
is
usually used, in
conjunction
with the GPRINT st
atem
e
nt,
fo
r the
pur
pose of creating graphic displays !this will be illus
trat
ed
mo
re thoroughly in
the
next
soction).
Other
types of
instructions
may
lo
ll
ow
the GCURSOR
statement
since this
statement
does
not
write any inform
ai
tion.
GCURSOR
merely indicates in which column
subS:equent
information
\•Jill
be
written. This
i~
i
ll
ustrated by
th
e
following
linC?s:
Program l isting:
10
GCURSOR
50
20
PRINT
"A"
30
GCURSOR
80
40
PRINT
26/3
Do
not sale this PDF
!!!
88

Table of Contents

Other manuals for Sharp PC-1500

Related product manuals