POINT Function
◄Summary► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
Returns the current graphics cursor coordinates or the color attribute of a
specified pixel; not available when forms are showing.
POINT {(number%) | (x%,y%)}
■ (number%) Specifies type of coordinate to return:
Value Returns
═════ ═══════════════════════════════════════════════
0 Current viewport x coordinate
1 Current viewport y coordinate
2 Current window x coordinate
3 Current window y coordinate
■ (x%,y%) Coordinates of the pixel that POINT checks for color;
if coordinates are outside the current viewport, POINT
returns -1
See Also
◄Color Attributes and Values (SCREEN)► ◄COLOR Statement►
◄PMAP Function► ◄SCREEN Statement►
◄VIEW Statement► ◄WINDOW Statement►