Turtle Graphics; Wrap; Fd; Home - AMSTRAD cpc 6128 User Instruction

Integrated computer/disc system
Hide thumbs Also See for cpc 6128:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

Table of Contents