EasyManuals Logo

Sharp MZ-800 User Manual

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
Page #135 background imageLoading...
Page #135 background image
RLINE
Format
RLINE
[%
<line
type>,]
xl,yl
[,
x2,y2,
...,
xi, yi]
Explanation
The
RLINE
statement
draws
a
line
from
the
current
pen
location
to
the
location
Example
indicated
by
relative
coordinates
(x1,y1),
then
draws
a
line
from
that
point
to
the
location
indicated
by
relative
coordinates
(x2,y2),
etc.
xi
must
be
an
integer
from
—480
to
480
and
yi
must
be
an
integer
from
—999
to
999.
The
line
styles
selectable
with
<line
type>
are
the
same
as
for
the
PLINE
statement.
The
RLINE
statement
is
only
valid
in
the
graphics
mode.
10
PMODE
GR
20
SQ=INT
(120*SQR(3))
30
RLINE
%1,240,0,
120,-SQ,-—120,SQ
40
PMODE
TN
This
program
draws
a
triangle
with
solid
lines.
PMOVE
Format
Explanation
Example
PMOVE
<X
coordinate>,
<Y
coordinate>
The
PMOVE
statement
lifts
the
pen
and
moves
it
to
the
specified
location
(x,y).
<X
coordinate>
and
<Y
coordinate>
must
be
an
integer
in
the
range
480
to
480
and
—999
to
999,
respectively.
This
statement
is
only
valid
in
the
graphics
mode.
The
following
program
draws
a
cross
with
sides
480
units
long:
10
PMODE
GR
20
PLINE
0,0,480,0
30
PMOVE
240,240
40
PLINE
240,240,240,
240
50
PMODE
TN
Remember
to
advance
the
paper
before
executing
this
program.
6-78

Other manuals for Sharp MZ-800

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Sharp MZ-800 and is the answer not in the manual?

Sharp MZ-800 Specifications

General IconGeneral
BrandSharp
ModelMZ-800
CategoryDesktop
LanguageEnglish

Related product manuals