Clears input data from the type-ahead buffer.
FeedbackOpens in a new tab
The CLEARINPUT statement deletes (clears) any user input data stored in the type-ahead buffer. This affects the INPUTIF statement, which receives user input from the type-ahead buffer. CLEARINPUT has no effect on the INPUT statement, which does not use a type-ahead buffer.
The CLEARINPUT and INPUTCLEAR statements are functionally identical. CLEARINPUT is supported for compatibility with UniData systems.