The synonym INPUTCLEAR may be used in place of CLEARINPUT.
Any type-ahead data is cleared. Data stored by the DATA statement is not affected.
ABORT "A fatal error has occurred"
This program fragment could be used to ensure that data entered at the keyboard is cleared when aborting at some error condition.