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

4.10.9TURTLE GRAPHICS:

bk

(back) Moves the turtle the input number of steps in the opposite direction of its heading.

?cs fd 150 ?bk 50

fd

(forward) Moves the turtle the input number of steps in the direction of its current heading.

?fd 80

ht

(hide turtle) Makes the turtle invisible; speeds and clarifies drawing.

?ht

?cs fd 50 ?st

lt

(left) Rotates the turtle the input number of degrees to the left.

?lt 90

pd

(pen down) Puts the turtle's pen down; the turtle resumes drawing.

?fd 20 pu fd 20 ?pd

?fd 20

Chapter 4.15

AMSTRAD Disc Drive & Interface DDI-1 Manual

Page 73
Image 73
Amstrad DDI-1 manual Turtle Graphics, Wrap