17.01.2013 Views

AmstradCPC6128-hypertext-en-Sinewalker

AmstradCPC6128-hypertext-en-Sinewalker

AmstradCPC6128-hypertext-en-Sinewalker

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

wrap<br />

Makes the turtle reappear on the opposite side of the graphic scre<strong>en</strong> wh<strong>en</strong> it exceeds<br />

the boundary.<br />

?cs wrap<br />

?rt 5 fd 1000<br />

?cs window<br />

?rt 5 fd 1000<br />

Turtle graphics:<br />

bk<br />

(back) MO-ves the turtle the input number of steps in the opposite direction of its<br />

heading.<br />

fd<br />

?cs fd 150<br />

?bk 50<br />

(forward) Moves the turtle the input number of steps in the direction of its curr<strong>en</strong>t<br />

heading.<br />

?fd 80<br />

*<br />

home<br />

Returns the turtle to position [0 0] (the c<strong>en</strong>tre of the graphic scre<strong>en</strong>) heading 0<br />

(north).<br />

? f d 100<br />

?rt 45 "<br />

?fd 100<br />

?home<br />

Chapter 6 Page 26 Introduction to Logo

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!