qb45advr.hlp (
Topic list)
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.