EasyManua.ls Logo

Commodore 128 - Page 255

Commodore 128
448 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...
EXAMPLES:
CIRCLE1,160,100,65,10 Draws an ellipse
CIRCLE1,160,100,65 Draws a circle
CIRCLE1, 60,40,20,1845 Draws an octagon
CIRCLE1, 260,40,20,3090 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

Table of Contents

Other manuals for Commodore 128

Related product manuals