7.5.1 SWQPNT

1.
Function
Returns the position of the mouse pointer.

2.
Call
CALL SWQPNT(WX,WY,MB)

3.
Explanation of Arguments
WX,WY (R) The position of the mouse pointer. (o)
MB (I) The type of button. (o)

4.
Notes
(a)
In the X-Windows system,  MB returns the following value. If Button1 is pressed, 1; if  Button2 is pressed, 2; if Button3 is pressed, 3; in all other cases, 0 is returned.