Dotc; Fence - AMSTRAD cpc 6128 User Instruction

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

Advertisement

*
dotc
Outputs the colour number ofthe dot at the specified input co-ordinate list, or -1 if the
location is not on the screen.
?cs
?setpc 1
?dot [-50 50]
?setpc 2
?dot [50 50]
?setpc 3
?dot [50 -50]
?dotc [50 50]
2
?dotc [-50 -50]
o
?dotc [1000 3000]
-1
fence
Establishes a boundary that limits the turtle to the visible graphic screen.
win
d
0
w
removes the boundary.
?fence
?fd 300
Turtle out of bounds
Introduction to Logo
Chapter 6 Page 23

Advertisement

Table of Contents
loading

Table of Contents

Save PDF