EasyManua.ls Logo

Commodore 128D - Page 291

Commodore 128D
427 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...
PAINT
PROGRAM,
SEQUENTIAL,
RELATIVE
and
USER;
modes
are
READ
and
WRITE.
See
the
section
on
RS232
for
command
string
require
ments.
EXAMPLES:
10
OPEN
3,3
OPENs
the
screen
as
file
number
3.
20
OPEN
1,0
OPENs
the
keyboard
as
file
number
1.
30
OPEN
1,1,0,"DOT"
OPENs
the
cassette
for
reading,
as
file
number
1,
using
"DOT"
as
the
filename.
OPEN
4,4
OPENs
the
printer
as
file
number
4.
OPEN
15,8,15
OPENs
the
command
channel
on
the
disk
as
file
15,
with
secondary
address
15.
Secondary
address
15
is
reserved
for
the
disk
drive
error
channel
5
OPEN
8,8,12,"TESTFILE,SEQ,WRITE"
OPENs
a
sequential
disk
file
for
writing
called
TESTFILE
as
file
number
8,
with
secondary
address
12.
See
also:
APPEND,
CLOSE,
CMD,
DOPEN,
DCLOSE,
GET#,
INPUT#,
and
PRINT*
statements
and
system
variables
ST,
DS,
and
DS$.
—Fill
area
with
color
PAINT
[color
source]
[,[x,y]
[,mode]]
where:
color
source
0
background
1
foreground
(default)
2
Multicolor
1
3
Multicolor
2
x,y
starting
coordinate,
scaled
(default
at
pixel
cursor
(PC))
mode
0
=
paint
an
area
defined
by
the
color
source
selected
(default)
1
=
paint
an
area
defined
by
any
non-
background
source
The
PAINT
command
fills
an
area
with
color.
It
fills
in
the
area
around
the
specified
point
until
a
boundary
is
encountered.
The
x
and
y
coordinate
must
lie
completely
within
the
boundary
of
the
shape
you
283
BASIC
7.0
ENCYCLOPEDIA-Basic
Commands
and
Statements

Table of Contents

Other manuals for Commodore 128D

Related product manuals