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 #115 background imageLoading...
Page #115 background image
SET
Format
Explan:
SET
[<colour
specification>]
<X-coordinate
>,
<
Y-coordinate
>
<colour
specification>
=
[<palette
code>][,<mode>]
The
SET
statement
sets
a
dot
on
the
screen
at
the
point
specified
by
<
X-coordinate
>
and
<Y-coordinate>
in
the
specified
colour.
<X-coordinate>
and
<Y-
coordinate
>
are
numerical
expressions
(i.e.,
numeric
constants,
variables,
or
ex-
pressions).
They
can
have
values
from
the
following
ranges:
16384
=
<X-coordinate>
=<
16383
~
16384
=
<Y-coordinate>
<
16383
(=
16384,
16384)
Example
See
also
Virtual
area
{-X)
(639,0)
Ys
Pome
(639,199)
(16383,
16383)
Although
you
can
specify
X-
and
Y-coordinates
in
the
virtual
area,
BASIC
displays
only
the
shaded
area
in
the
above
figure.
<palette
code>
can
specify
the
colour
of
the
dot
to
be
plotted.
<mode>
must
be
either
0
or
1.
When
0
is
specified,
the
dot
is
displayed
in
the
colour
specified
by
<
palette
code>,
irrespective
of
the
cur-
rent
palette
code
value.
When
1
is
specified,
the
dot
is
displayed
in
the
colour
deter-
mined
by
ORing
the
current
palette
code
with
the
<palette
code>
specified
in
the
SET
statement.
When
<colour
specification>
is
omitted,
the
dot
is
displayed
in
the
colour
speci-
fied
by
the
last
COLOR
statement.
10
SET[3,0]
100,50...........
Turns
on
a
dot
at
coordinates
(100,50)
in
the
colour
associated
with
the
palette
code
3,
superimpose
mode
0.
RESET
6-58

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