Skip to main content
Previous sectionNext section

INPUTCLEAR

Clears input data from the type-ahead buffer.

Synopsis

INPUTCLEAR

Arguments

None.

Description

The INPUTCLEAR statement immediately deletes (clears) any user input data stored in the type-ahead buffer. It does not wait for the next READ statement. This affects the INPUTIF statement, which receives user input from the type-ahead buffer. INPUTCLEAR has no effect on the INPUT statement, which does not use a type-ahead buffer.

The INPUTCLEAR and CLEARINPUT statements are functionally identical.

See Also