5.6 Repetition
of
Graphic Data
By using CHR$(26)
you
can repeat graphic data where
you
wish.
I
CHR$(8)
I ....... I
CHR$(26)
I NUMBER OF
REPETITION
DATA I
3.19
What
is
actually repeatable
is
just I column
of
graphic
information.
The following example uses a CHR$(26) code
to
draw
the
graphic.
1
~~~7:::
A I
:34
1979 57
1980
75
19::;:
1
19:32
19::::;:
1
(1
OF'Et'~6
~
4
,
...
"
....
.:.':.
1
·-,·",
.:::.-:,.
20
FORI=IT06:READA:A$=A$+CHR$(A):NEXT
30
FORJ=lT04:READB:B$=B$+CHR${B):NEXT
40
FORK=IT06:READC:C$=CHR$(C)
50 D'=STR$(1977+K)
60
PRINT#6.CHR$(15)D$A$CSB$C
7(1
NE>::T
8(1
Ct'1D6:
L I
:::;1'
90
DATA
8,27~16,0.53.26
100
DATA
255.59.15.32
110
DATA
34,57,75,88.123.186
F.:EAD'T'.
3.20
5.7
Cursor
Up
Mode
By sending the
CHR$(I45)
Code
to
your
printer, following charac-
ters will be printed
in graphic mode (cursor
up
mode)
until
either a
carriage return or down cursor
is
detected. (Note: This
is
the power
on default).
Example
33.