INPUTCLEAR

The INPUTCLEAR statement clears the type-ahead buffer.

COMMAND SYNTAX

    INPUTCLEAR

SYNTAX ELEMENTS

None

NOTES

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

The INPUTCLEAR statement is synonymous with CLEARINPUT.

EXAMPLE

    CRT "Start year end processing (Yes/No) :"
    INPUTCLEAR
    INPUT ans
    IF ans # "Yes" THEN
    CRT "year end processing not started"
    END
Last update: Sat, 16 Jul 2022 15:34