Black And White Graphics - OKIDATA OKIMATE 10 Handbook

Table of Contents

Advertisement

BLACK
AND
WHITE
GRAPHICS
CHR$ ( 2? ) ; CHR$ ( 37 )
Begin graphics
CHR$(145)
End graphics
C H R $ ( 1 5 4 )
Repeat graphics
Bloch and White Graphics
To print black and white graphics created
with a software package, just follow the in¬
structions on page 20. You can also program
graphics without a software package, but it
takes a bit more time.
The first step is to map out your image on
graph paper, dividing the picture into seven
row strips like this:
Rows
Value
Column total
1
2
3
4
5
6
7
- o
o
o
o
o
-
o
o
■ o o o o o o
127 66
68
72
80
96
64
The numbers on the left show the value at
each dot position in a column. For each col¬
umn, add up the values for each position con¬
taining a dot. Now put everything together in
a PRINT#
statement. Here's how:
30

Advertisement

Table of Contents
loading

Table of Contents