scan

The SCAN statement causes Just BASIC to stop what it is doing for a moment and process Windows keyboard and mouse messages.  This is useful for any kind of routine that needs to run continuously but which still needs to process button clicks and other actions.  In this way, SCAN can be used as an INPUT statement that doesn't stop and wait.
