Generate Chess960 starting position: Difference between revisions

m
Line 82:
==={{header|Commodore BASIC}}===
{{works with|Commodore BASIC|3.5,7.0}}
Besides the admittedly-trivial `use of <tt>DO`</`tt>/<tt>LOOP`</tt>, this implementation also exploits the BASIC 3.5+ ability to use `<tt>MID$`</tt> as an lvalue.
<lang basic>100 REM CHESS 960
110 PRINT "SPID (-1 FOR RANDOM):";
1,480

edits