DCL:GRPH1:SWPACK: Machine-Dependent Routines:Explanation of the Subroutines: The Mouse
Returns the position of the mouse pointer.
wx, wy, mb = NumRu::DCL.swqpnt()
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.