Special Features
3pl LPRINT I II= 11 CHR$(I) CHR$(9);
4pI NEXT I : LPRINT : NEXT J
67
Figure 6-l shows what this program will print. If your chart
doesn’t look like this because it has regular letters and numbers
instead of the special symbols, then your computer is only using
seven bits (unless you have set DIP switch 2-3 on by mistake). You
can get the correct printout by changing line 30 to this:
3(Tl LPRINT I )1= u CHR$(27) ">" CHR$(I) CHR$(27) '='
CHR$(9);
So how are all of these strange characters used? Here is a
short program that demonstrates how the graphics characters can
be combined to create figures. If you have a i’-bit interface, add
lines 5 and 70 shown below the main listing.
NEW
lpi LPRINT CHR$(27) "A" CHR$(6);
20 LPRINT CHR$(235) CHR$(231) CHR$(231) CHR$(236)
30 LPRINT CHR$(233) CHR$(163) CHR$(161) CHR$(2%)
40 LPRINT CHR$(233) CHR$(162) CHR$(160) CHR$(234)
50 LPRINT CHR$(237) CHR$(232) CHR$(232) CHR$(238)
60 LPRINT CHR$(27) "2";