EasyManua.ls Logo

Sharp MZ-800 - Page 124

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...
POINT
Format
Explanation
Example
POINT
(<X-coordinate>
,<
Y-coordinate
>)
The
POINT
function
returns
the
palette
code
that
is
defined
at
the
given
point
on
the
screen.
The
range
of
values
that
<X-coordinate>
and
<Y-coordinate>
can
have
is
set
by
the
INIT
statement.
10
INIT’‘CRT:M1”
20
SET[3,0]100,100
30
A=POINT(100,100)
40
PRINT
A
50
END
RUN
3
Ready
The
statement
on
line
10
assigns
the
point
(100,100)
to
palette
code
3.
The
POINT
function
therefore
returns
a
palette
code
of
3.

Other manuals for Sharp MZ-800

Related product manuals