EasyManua.ls Logo

Sinclair QL - Page 170

Sinclair QL
422 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Operates the 'pen'
In
turtle graphics.
If
the pen
is
up then nothing
Will
be
drawn.
If
the
pen
is
down then lines
will
be drawn
as
the turtle moves across the screen.
The
line
will
be drawn
in
the window attached
to
the specified or default channel.
The
line
will
be drawn
In
the current
ink
colour for the channel
to
which the output
is
directed.
syntax:
PENUP
[channe~
PENDOWN
[channe~
example:
i.
PENUP [will
raise
the pen
in
the default channel]
ii.
PENDOWN
#2
[will lower the pen
in
the window attached
to
channel
2)
PI
is
a function which returns the value
of
7t.
PENUP
PENDOWN
turtle
graphics
PI
maths
functions
syntax:
example:
12/84
PI
PRINT
PI
43

Other manuals for Sinclair QL

Related product manuals