Px; Seth; Setpc; Setpos - AMSTRAD cpc 6128 User Instruction

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

Advertisement

px
(pen exchange) Makes the turtle exchange the colour of any previously coloured pixel
in its trail with the reverse or logical colour compliment.
It
?fd 20 pu fd 20
?pd setpc 3 fd 20
?px
?bk 80
?fd
80
?pd
bk
100
Rotates the turtle the input number of degrees to the right.
?rt 90
seth
(set heading) Turns the turtle to the absolute heading specified by the input number
of degrees; positive numbers turn the turtle clockwise; negative numbers turn the
turtle counter-clockwise.
?seth 90
setpc
(set pen colour) Sets the turtle's pen to that specified by the input number.
?setpc 1
setpos
(set position) Moves the turtle to the position specified in the input co-ordinate list.
?setpos [30 20]
Chapter 6 Page 28
Introduction to Logo

Advertisement

Table of Contents
loading

Table of Contents