inputclear statement

The inputclear statement clears the keyboard type-ahead buffer.

Syntax

inputclear

Example(s)

print ’Do you wish to continue? (y/n) ’:
inputclear
input answer,1