Sharp PC-1500A Instruction Manual page 91

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

Advertisement

All
and
more
about Sharp
PC-1500
at
http://www.PC-1500.info
Keystrokes:
rn
rn m
rn rn rn
m
oo
oo oo oo
,
.....
1
moom
oornoom
1
.....
1
CJ
oo
''""' 1
CJ
''"""1
rn rn
m rn
oo
oo
oo
rn
oo
rn
001
•••••1
rn oo
moo moo
rn
mm
mm
l•••••I
wh
ich
produces
normal
looking
output al positions 50
and 80:
A
AUN
8, 6 6 6 6 6 6 6
_
6 7 ·
1
What
happeM
if we al ter line 30 to begin
printing
at
GCURSOR
PMilion
93?
Try
th is
by
substitu
ting
the
to110
..
·1ing
line
:
30
GCURSOR 93
Surprise
!
The
second
outpu
t
has
been
"truncated"
(chopped
off
J
because
it
ran off
the
end
of
the
displ
ay.
As
a
final
example
of the
GCURSOR
statement,
we present an
advanced program
which crc·atcs
ar'I u
nusual effect
by o verlapp ing
characters:
Program
Listing:
10 WAIT 0
20
DIM AS
(0)
*
10
30
A$
(0)
=
"
..
:
C
=
0
40
INPUT
"
ENTER MESSAGE
<
<
10 CHARS)",
AS (0)
50
CLS
60
FOR I=
1
TO
(L
EN
AS
(O)J
70 GCURSOR
c
80
FOR
J
=
1
TO
3
90
GCURSOR C
100
PR INT M
I
D$ (AS
(O),
I,
11
105
C
=
C+3
110
NEXT
J
120 C=C+5
130
NEXT
I
140
WAIT
150 GCURSOR
155
160 GPR
INT
"
00"
170 END
Do not
sale
this PDF
!!!
89

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents