Logo Commands [value] is equal to some numbermegaupload codebreaker

Movingmegaupload codebreaker

go [value]megaupload codebreaker

makes Logo go forward by [value] steps.megaupload codebreaker

right [value]megaupload codebreaker

makes Logo turn right the value of [value]. One circle corresponds to 360.megaupload codebreaker

right can be written "rt " too.megaupload codebreaker

left [value]megaupload codebreaker

like right but turns to the left side. Can be written as "lt".megaupload codebreaker


megaupload codebreaker

Writingmegaupload codebreaker

color [colorname]megaupload codebreaker

changes the color with which Logo drawsmegaupload codebreaker

colorname can be: black, white, red, blue, cyan, darkGray, gray, green, lightGray, magenta, orange, pink, yellowmegaupload codebreaker

up and downmegaupload codebreaker

with up and down you can make Logo lift his pencil megaupload codebreaker

up megaupload codebreaker

picks the pencil up so it does not write it allows you to move the turtle without making linesmegaupload codebreaker

downmegaupload codebreaker

puts the pencil back down so that it can writemegaupload codebreaker


megaupload codebreaker

Commentsmegaupload codebreaker

"/" is used for comments = text that Logo does not readmegaupload codebreaker


megaupload codebreaker

Proceduresmegaupload codebreaker

procedure [procedurename]megaupload codebreaker

here starts a new proceduremegaupload codebreaker

endmegaupload codebreaker

end of a proceduremegaupload codebreaker


megaupload codebreaker

Advancedmegaupload codebreaker

goto [name], [var]=[value], [var]=[value], ...megaupload codebreaker

go to the procedure [name]. You can add as much [var]=[value] as you want (none is also possible).megaupload codebreaker

[var] is the name of a variable that will appear in the procedure [name] with the value [value]megaupload codebreaker

newvar [var] = [value]megaupload codebreaker

creates a new variable with the name [var] that has the value [value].megaupload codebreaker

repeat [times], [name], [var]=[value], ...megaupload codebreaker

go to the procedure [name] [times] times. The number of the round will be available in the procedure [name] as a variable called "loop".megaupload codebreaker

[var] = [value]megaupload codebreaker

associates the value of [value] to the variable [var]megaupload codebreaker