DCL:GRPH1:SWPACK: Machine-Dependent Routines:Explanation of the Subroutines: The Mouse
Returns the position of the mouse pointer.
CALL SWQPNT(WX,WY,MB)
WX,WY (R) The position of the mouse pointer. (o) MB (I) The type of button. (o)
- (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.