Note: The KNOBY keyword is for compatibility with HP Workstation BASIC even though on modern computers it is actually a mouse.
During an ON KNOB sampling interval, KNOBY counts the vertical mouse pulses generated. Upward mouse movement gives positive counts. Movement in the opposite direction gives negative counts. Once read, the count is cleared. If ON KNOB is not active, KNOBY returns a 0.