Statements
Write a black pixel and move right:
write black right
Statements - Overview
Here is a visual representation of all possible statements. Click on a word for more information.
label: | if/while | 0/white | write | 0/white | up | exit | status | else | write | 0/white | up | exit | status | |
/ | 1/black | 1/black | down | / | 1/black | down | / | |||||||
/ | left | goto | label | / | left | goto | label | |||||||
right | / | right | / | |||||||||||
/ | / | |||||||||||||
/ | ||||||||||||||
/ | / | write | 0/white | up | exit | status | / | |||||||
1/black | down | / | ||||||||||||
/ | left | goto | label | |||||||||||
right | / | |||||||||||||
/ |
Statements - More Examples
Statements can be conditional:
if black right else exit 1