Download Print this page

Sanyo MLP-001 Operating Instructions Manual page 29

Light pen unit

Advertisement

CALL
SPAINT
Call
super
paint
(EXPANDER
BASIC)
Function:
To
put color
all
over
in
an
enclosure.
Format
:
CALL
SPAINT
(Kx
axis>,
<y
a
x
'
s>
)
Example:
COLOR
8:
CALL
SPAINT
((100, 100))
Explanation:
An
area
enclosed with
lines
is
painted with
a
specified
color,
being centered
about
Kx
a
x
i
s>
,
<y
axis>).
The
framing
lines'
color
can be
different
from
that
to
be
painted.
The
color to
be put
is
a
foreground
one
speci-
fied
with
a
COLOR
statement.
The
coordinates can be
relative
with
a
STEP
statement.
Sample
program:
10
C
0
L
0 R
15.1,1:8 CREEN
2
15
LI
ME
(5
0
,
5 0
>
-
(.
2
00,
1
6 0
15,
B
20
CIRCLE
<
100, 10
0
>
,40,15
30
CIRCLE
(
150,
1
0 0
>
,40,
40
COLOR
3:
CALL
S
PAINT
<
8 0
,
10
0
>
>
50
h-
i
•m
LL.
170, 10
0
>
,
15
60
G 0
T
0
6
0

Advertisement

loading