One-line implementation of LOGO Turtle Graphics
written in BBC BASIC.
Totalling only 250 byes of code this may be the
smallest implementation of Turtle Graphics ever written
with such a comprehensive feature set.
Commands:
F <distance> Move turtle forwards <distance>
B <distance> Move turtle backwards <distance>
L <angle> Turn turtle left <angle> degrees
R <angle> Turn turtle right <angle> degrees
H Home turtle (move to centre of screen)
P Toggle Pen Up / Pen Down
C Clear screen and home turtle; rest of line is ignored
X Exit MiniLOGO
*<command> Do *<command>
: <comment> Short comment; can be included in compound statements
| <comment> Long comment; rest of line is ignored
; Command separator
<iterations> Repeat command, must be first command in a line
Contains executable versions and source code for
Windows, RISC OS, Acorn Electron and BBC Series computers.
Not compatible with Brandy BASIC. |