Terminal control/Coloured text: Difference between revisions

(add freebasic)
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>
 
781

edits