Copy and paste any one line of code into the XLogo command line and press <Enter> key to run. Widen the XLogo window to easily see and edit a long instruction.
You may need to first type in CS to clear the screen. You can change the default pen and screen color by selecting Tools / Preferences / Options from the XLogo menu.
To slow down the drawing speed add in your own Wait commands.
Try and work out the image each code will produce before you run it...
The repeat command repeats code contained in the square brackets
a set number of times.
Repcount is a count of the number of times the repeat loop has been executed.