Commodore 16 User Manual
Download Operation & user’s manual of Commodore 16 Desktop for Free or View it Online on All-Guides.com.
I
CLOSE
CLOSE
tile
*
This command completes ana closes any files used by OPEN
statements. The number
following
Ihe word CLOSE Is the (He
number
(o be
closed.
EXAMPLE
CLOSE 2
Logical
Hie 2
is
closed.
CLR
CI.R
This
command erases any
variables
In
memory,
but leaves Ihe
program
ilseif intact.
This command ib
automatically executed when
a RUN
or
NEW command is given, or when
any
editing Is
performed
CMD
CMDIile# [.write
HstJ
CMD sends the output which normally would go to the screen (I.e.
PRINT statement, LISTS, but not POKEs into the screen) (o another
device Instead.
This could
be a
printer,
or a data
file on
tape
or disk.
This device
or
Hie
must be
OPENed first. The CMD command
must
be
toilowed
by a number
or
numeric
variable referring
to
the (lie.
EXAMPLES:
OPEN 1,4
CMD1
UST
112
OPENS
device 0A, which is the printer.
AH normal
output
now
goes to
the printer
The USTing
goes to
the pnnter, not the screen
even the word READY.
I I
i
'
i
i
i
'
i
'
i
:
I
i
i
i
i
i
I
I
I
i
'
i
'
I
'
I
I
i '
I
'
(
'
i I
i
i
i
'
i I
i
'
PRINT* 1
CLOSE 1
Set output back lo me
screen.
Close the
die.
COLOR
COLOR source *. colour
# [.luminance
#|
Assigns a
colour
to
one of the 5
colour
sources:
Number Sourca
background
1 foreground
2
multicolour
1
3
multicolour
2
4 border
Colours
you can
use are in the range 1
-
16
(t is Wack, 2 is white, 9 is
orange, etc. from
your keyboard colour keys) As an option, you can
Include the
luminance level 0-7, with being lowest
and 7 being
highest. Luminance defaults to 7 Luminance
lets
you
select from eight
levels of brightness for any colour except
black.
DATA
DATA
list
of constants
separated
by
commas
This statement is followed by a list of
items
to be used
by READ
statements. The items may be
numbers or words, and are separated by
commas
Words
need not
be
inside of quote marks,
unless
they
contain any of the following characters: SPACE,
colon, or comma. If
two commas have nothing
between
them,
the value
will
be
READ
as a
zero
for
a
number, or an
empty
string The DATA
statement must be
part
of a
program, otherwise it will not be
recognized. Also see the
RESTORE statment. which
allows your Commodore 16 lo reread data
113