Gray code: Difference between revisions

Content added Content deleted
(added Easylang)
m (→‎{{header|BASIC}}: GW-BASIC headered.)
Line 1,161: Line 1,161:


=={{header|BASIC}}==
=={{header|BASIC}}==
==={{header|GW-BASIC}}===
<syntaxhighlight lang="gwbasic">10 DEFINT A-Z
{{works with|BASICA}}
<syntaxhighlight lang="basic">10 DEFINT A-Z
20 FOR I=0 TO 31
20 FOR I=0 TO 31
30 N=I:GOSUB 200:E=R:REM Encode
30 N=I:GOSUB 200:E=R:REM Encode