
86
So how are all of these characters used? Here is a program that demonstrate how the graphics characters can be combined to create a figure: the 5 of clubs.
10 LPRINTCHR$(27) ; “6”;
20LPRINTCHR$(218);CHR$(196) ;CHR$(196);CHR$(196); CHR$(196);CHR$(196);CHR$(191)
30LPRINTCHR$(179);CHR$(53);CHR$(32) ;CHR$(32); CHR$(32);CHR$(32);CHR$(179)
40LPRINTCHR$(179);CHR$(~2);CHR$(5);CHR$(32);
CHR$(5);CHR$(32);CHR$(179)
50LPRINTCHR$(179);CHR$(32);CHR$(32) ;CHR$(5);
CHR$(32);CHR$(32);CHR$(179)
60LPRINTCHR$(179);CHR$(32);CHR$(5) ;CHR$(32); CHR$(5);CHR$(32);CHR$(179)
70LPRINTCHR$(179);CHR$(32);CHR$(32) ;CHR$(32); CHR$(32);CHR$(53);CHR$(179)
80LPRINTCHR$(192);CHR$(196);CHR$(196);CHR$(196); CHR$(196);CHR$(196);CHR$(217)
90LPRINTCHR$(27);”7”
Ifyouhave
15LPRINTCHR$(27);’’>”;
95 LPRINTCHR$(27);”=”
In this program, line 10 selects characterset#2so thatall the graphics characters can be used (including the ’’club’’symbol).
Then lines20 - 80printthe50f clubs figure. Line 90 cancels character set #2 (which is the same as selecting character set #l).