HTBasic Help
×
Menu
Index

knob Example

10    ON KNOB 1 GOSUB Here
20    CLEAR SCREEN
30    FOR Loop=1 TO 10
40      WAIT 1          !Move the mouse to run program properly.
50    NEXT Loop
60    STOP
70 Here: PRINT KNOBX,KNOBY  !Print out the amount moved in the x and y directions.
80    RETURN
90    END