EasyManua.ls Logo

Commodore Plus 4 - Page 141

Commodore Plus 4
234 pages
Print Icon
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...
With
the
CIRCLE
command
you
can
draw
a
circle,
ellipse,
arc, triangle
or
an
octagon.
The
final
coordinate
is
on
the
circumference
of
the
circle
at
the
ending
arc
angle.
Any
rotation
is
about
the
center.
Set
ting
the
Y
radius
equal
to
the
X
radius
does
not
draw
a
circle,
since
the
X
and
Y
coordinates
are
scaled
differently,
Arcs
are
drawn
from
the
starting
angle
clockwise
to
the
ending
angle.
The
segment
increment
controls the
coarseness
of
the
shape,
with
lower
values
for
inc
creating
rounder
shapes.
EXAMPLES:
CIRCLE
160,100,65,10
Draws
an
ellipse.
CIRCLE
,
160,100,65,50
Draws
a
circle.
CIRCLE
,
60,40,20,18,,,,45
Draws
an
octagon.
circle
,
260,40,20,,,,,90
Draws
a
diamond.
CIRCLE
,
60,140,20,18,,,,120
Draws
a
triangle.
CLOSE
CLOSE
file
#
This
command
completes
and
closes
any
files
used
by
OPEN
state
ments.
The
number
following
the
word
CLOSE
is
the
file
number
to
be
closed.
EXAMPLE
CLOSE
2
Logical
file
2
is
closed.
CLR
CLR
This
command
erases
any
variables
in
memory,
but
leaves
the
pro
gram
itself
intact-
This
command
is
automatically
executed
when
a
RUN
or
NEW
command
is
given,
or
when
any
editing
is
performed.
CH/ID
CMD
file
#
[.write
list]
CMD
sends
the
output
which
normally
would
go
to
the
screen
(i.e.
PRINT
statement, LISTS,
but
not
POKEs
into
the
screen)
to
another
device
instead.
This
could
be
a
printer,
or
a
data
file
on
tape
or
disk.
This
device
or
file
must be
OPENed
first.
The
CMD
command
must
be
followed
by
a
number
or
numeric
variable
referring
to
the
file.

Other manuals for Commodore Plus 4

Related product manuals