Commodore 128 System Manual page 255

Hide thumbs Also See for 128:
Table of Contents

Advertisement

EXAMPLES:
C IR C LE1,160,100,65,10 Draws an ellipse
C IR C LE1,160,100,65 Draws a circle
CIRCLE1, 60,40,20,18„„45 Draws an octagon
CIRCLE1, 260,40,20,30„„90 Draws a diamond
CIRCLE1, 60,140,20,18,,,,120 Draws a triangle
You may omit a parameter, but you must still place a comma in
the appropriate position. Omitted parameters take on the default
values.
CLOSE
Close logical file
CLOSE file number
This statement closes any files used by the DOPEN or OPEN
statements. The number following the word CLOSE is the file
number to be closed.
EXAMPLE:
CLOSE 2 Logical file 2 is closed.
CLR
Clear program variables
CLR
This statement erases any variables in memory, but leaves the
program intact. This statement is automatically executed when a
RUN or NEW command is given.
CMD
Redirect screen output
CMD logical file number [,write list]
This command sends the output, which normally goes to the
screen (i.e., PRINT statement, LIST, but not POKES into the
screen) to another device, such as a disk data file or printer. This
device or file must be OPENed first. The CMD command must be
followed by a number or numeric variable referring to the file. The
17-13

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

128d

Table of Contents