Colour bars/Display: Difference between revisions
m
Commodore BASIC: Converted program to lower case, which aids when copy-pasting into emulators.
m (→{{header|Phix}}: IupCloseOnEscape no longer needed) |
m (Commodore BASIC: Converted program to lower case, which aids when copy-pasting into emulators.) |
||
Line 271:
This cross-compatibility is achieved by using the PETSCII control codes (CHR$(x)) for changing color, which are generally the same across all platforms, although the system palettes themselves may differ. This is combined with printing a "reverse video" space (solid block) character in the color selected.
<lang gwbasic>5
10
20
25
30
40
50
60
70
75
76
80
90
100
110
280
285
300
305
310
320
==={{header|Liberty BASIC}}===
|