EasyManua.ls Logo

Sharp MZ-800 - Page 118

Sharp MZ-800
221 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...
BLINE
Format
Explanation
See
also
BLINE
[<colour
specification>]
<X-coordinate>, <Y-coordinate>,
<X-coordinate>,
<Y-coordinate>
[,<X-coordinate>,
<Y-coordinate>]...
<colour
specification>
=
<palette
code>,<superimpose
mode>
The
BLINE
statement
changes
the
colour
of
line(s)
connecting
given
points
on
the
screen
according
to
the
rule
shown
below.
<
X-coordinate>
and
<
Y-coordinate
>
are
numerical
expressions
(i.e.,
numeric
constants,
variables,
or
expressions),
Their
range
of
values
is
the
same
as
that
for
the
SET
statement.
The
<colour
specifica-
tion>
parameter
is
identical
to
that
of
the
RESET
statement.
If
this
parameter
is
omitted,
the
colour
specification
made
in
the
COLOR
statement
is
assumed.
If
coor-
dinates
outside
the
display
area
are
specified,
only
the
line
segment
within
the
dis-
play
area
is
deleted.
See
Appendix
A
for
more
information.
LINE,
RESET
BOX
Format
Explanation
Example
BOX
[<colour
specification>]
<X-coordinate
1>,
<Y-coordinate
1>,
<X-coordinate
2>,
<Y-coordinate
2>
[,<palette
code>]
<colour
specification>
=
[<palette
code>][,<superimpose
mode>]
The
BOX
statement
uses
two
pairs
of
coordinates
as
the
location
of
the
opposing
corners
of
the
box.
<X-coordinate>
and
<
Y-coordinate>
are
numerical
expres-
sions.
Their
range
of
values
is
the
same
as
that
for
the
SET
statement.
The
<colour
specification>
parameter
is
identical
to
that
of
the
SET
statement.
If
this
parameter
is
omitted,
the
colour
specification
mode
in
the
COLOR
state-
ment
is
assumed.
The
last
<palette
code>
parameter
specifies
that
the
box
must
be
painted
in
the
specified
colour.
When
this
parameter
is
omitted,
only
the
borders
are
drawn.
10
INIT’'CRT:M1""
20
CLS
30
BOX
[2,0]20,20,60,60,2
40
END
This
program
draws
a
rectangle
on
the
screen
and
paints
it
in
colour
previously
speci-
fied
from
palette
2.
SET

Other manuals for Sharp MZ-800

Related product manuals