The inputclear statement clears the keyboard type-ahead buffer.
Syntax
inputclear
Example(s)
print ’Do you wish to continue? (y/n) ’:
input answer,1
See Also
BASIC, ta Statement