EasyManua.ls Logo

Sharp MZ-800 - Page 134

Sharp MZ-800
221 pages
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...
PLINE
Format
Abbreviated
Format
Explanation
Example
PLINE
[%
<line
type>,]
xl,yl
[,
x2,y2,
...,
xi,yi]
PLI.
The
PLINE
statement
draws
a
solid
or
dotted
line
from
the
current
pen
location
to
the
location
indicated
by
absolute
coordinates
(x1,y1),
then
draws
a
line
from
that
point
to
the
location
indicated
by
absolute
coordinates
(x2,y2),
etc.
xi
must
be
an
integer
from
480
to
480
and
yi
an
integer
from
—999
to
999.
<line
type>
specifies
the
type
of
line
to
be
drawn
and
must
be
an
integer
from
1
to
16.
Solid
lines
are
drawn
when
<line
type>=1
and
dotted
lines
are
drawn
when
<line
type
>
=2
to
16,
where
n
is
a
number
corresponding
to
a
line
type.
If
%
<line
type>
is
omitted,
the
previous
value
of
n
is
assumed,
The
initial
value
of
<line
type>
is
1
(solid
line).
Lines
selectable
with
<line
type>
are
as
follows:
*
*
*
LINE
1—16
*
**
i
3
4
"
The
PLINE
statement
is
only
valid
in
the
graphics
mode.
10
PMODE
GR
20
PLINE
%1,
0,
0,
200,
0,
200,
—200,
0,
—200,
0,
0
30
END
The
above
program
draws
a
square
with
sides
200
units
long.
6-77

Other manuals for Sharp MZ-800

Related product manuals