Very basic LOGO, with Kitten Graphics (tm). FD, BK, LT, RT, and CLEAR control the kitten. REPEAT can be used to make a loop: REPEAT 4 [ FD 100 RT 90 ] REPEATs can also be nested. TO can be used to define procedures: TO TRI REPEAT 3 [ FD 100 RT 120 ] REPEAT 4 [ TRI RT 90 ] Procedures can even call each other. Global variables can be set with MAKE: MAKE "length 100 And dereferenced with the colon: REPEAT 4 [ FD :length RT 90 ] Push the flag to clear out any procedures or variables you have defined.