Radio Shack TRS-80 Operation Manual page 90

Hide thumbs Also See for TRS-80:
Table of Contents

Advertisement

Operation Manual
Computer Graphics
- - - - - - - - - - T R S - B O
® - - - - - - - - - -
Functions
POINT
Reads Pixel Value at Current Coordinates
POINT returns the OFF/ON pixel value at current x and
y
coor~inate
as specified
by
SETXY or SETXYR.
If the point is
not in the current viewport, POINT returns -1.
Example
K=POINT(M)
Sample Program
(see PSET)
FVIEW
Reads Viewport's Parameters
FVIEW returns the specified viewport parameter:
~
= returns the left X-coordinate
1 = returns the left Y-coordinate
2 = returns the right X-coordinate
3 = returns the right Y-coordinate
Example
I=FVIEW(~)
- - - - - - - - - lIadlOlhaell---------
-112-

Advertisement

Table of Contents
loading

Table of Contents