Welcome to jBASE's new documentation site! Many answers to your questions can be found by searching the Knowledgebase or viewing the jBASE Documentation. We also have a Google Group for peer discussion about jBASE. If you are unable to find the information you are looking for, jBASE Support will be glad to assist in resolving your technical problems. Enjoy and please provide comments and feedback .

How can we help you?

CLEARINPUT

Description

The command clears the terminal type-ahead buffer to allow the next INPUT statement to force a response from the user. The statement can be used as:

CLEARINPUT

In the following example, the CLEARINPUT statement clears the terminal type-ahead buffer to provoke a response from the user to the prompt:

CLEARINPUT
PRINT "DO YOU WANT TO DELETE THIS FILE? (Y OR N)"; 
INPUT X, 1

Note:

CLEARINPUT command is synonymous with INPUTCLEAR.

Was this article helpful?