You are on page 1of 1

Learning by seeing commands

; starts a comment to end of line


create-turtles 1
;this create 1 turtle, replace with n to create n turtles
all at xcor, ycor 0,0
ask turtle <n> [ <more command>]
ask turtles [ <more commands>]
clear-all or ca
let <variable> (value)
set <variable> (new value) ; to update a variable
print <variable> ; show results of variable in the command window
print (word blah blah blah of variable 1 blah blah variable 2)

You might also like