wrap
Makes the turtle reappear on the opposite side of the graphic screen when it exceeds
the boundary.
?cs wrap
?rt 5 fd 1000
?cs window
?rt
5
fd 1000
Turtle graphics:
bk
(back) MO-ves the turtle the input number of steps in the opposite direction of its
heading.
fd
?cs fd 150
?bk
50
(forward) Moves the turtle the input number of steps in the direction of its current
heading.
?fd 80
*
home
Returns the turtle to position [0 0] (the centre of the graphic screen) heading 0
(north).
? f
d 100
?rt
45
"
?fd 100
?home
Chapter 6 Page 26
Introduction to Logo