qb45advr.hlp (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 Details
  QuickSCREEN      Details      Example      Contents      Index
──────────────────────────────────────────────────────────────────────────────
POINT Function Details
 
Syntax
  POINT (x,y)
  POINT (number)
 
The coordinates x and y refer to the pixel being evaluated by the POINT
function. When called with two coordinates, POINT returns the color number
of the indicated pixel. If the specified pixel is out of range, POINT
returns the value -1.
 
POINT with one argument (as explained in the list below) allows
the user to retrieve the current graphics-cursor coordinates.
 
  Argument   Value Returned
  0          The current physical x coordinate.
  1          The current physical y coordinate.
  2          The current view x coordinate. This returns the same
             value as the POINT(0) function if the WINDOW statement
             has not been used.
  3          The current view y coordinate. This returns the same
             value as the POINT(1) function if the WINDOW statement
             has not been used.