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?

INPUTCLEAR

Description 

The INPUTCLEAR statement clears the type-ahead buffer. It is useful in situations where the user may have pressed the carriage return key several times prior to reaching an INPUT that requires attention.

It takes the general form:

INPUTCLEAR

INPUTCLEAR only clears the type-ahead buffer. It does not clear data stacked with the DATA statement. The statement is synonymous with CLEARINPUT.

An example of use is as: 

0001     CRT "Start year end processing (Yes/No) :"
0002     INPUTCLEAR
0003     INPUT ans
0004     IF ans # "Yes" THEN
0005         CRT "year end processing not started"
0006     END


Go back to jBASE BASIC.

Was this article helpful?