qck.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
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