Colour bars/Display: Difference between revisions

Content added Content deleted
Line 237: Line 237:
== {{header|ZX Spectrum Basic}} ==
== {{header|ZX Spectrum Basic}} ==


<lang basic>10 REM The ZX Spectrum display is 32 columns wide, so we have 8 columns of 4 spaces
<lang zxbasic>10 REM The ZX Spectrum display is 32 columns wide, so we have 8 columns of 4 spaces
20 FOR r=0 TO 20: REM There are 21 rows
20 FOR r=0 TO 20: REM There are 21 rows
30 FOR c=0 TO 7: REM We use the native colour sequence here
30 FOR c=0 TO 7: REM We use the native colour sequence here