Terminal control/Coloured text: Difference between revisions
Content deleted Content added
add freebasic |
→{{header|FreeBASIC}}: -expand |
||
Line 668:
=={{header|FreeBASIC}}==
Draws a 4x4 grid of coloured text with coloured backgrounds. Auto-blinking text isn't supported.
<lang freebasic>for i as uinteger = 0 to 15
color i, 15-i
print "Colour "+str(i),
if i mod 4 = 3 then color 0,0: print
next i</lang>
|