CLEAR.INPUT

CLEAR.INPUT, CLEARINPUT

Top  Previous  Next

 

The CLEAR.INPUT command (synonym CLEARINPUT) clears all unprocessed characters entered at the keyboard.

 

 

Format

 

CLEAR.INPUT

 

 

The CLEAR.INPUT command clears all keyboard type-ahead. It may be useful, for example, after a program terminates at an error to ensure that unprocessed keyboard data is not treated as input to the next program.

 

@SYSTEM.RETURN.CODE is not affected by this command.

 

 

See also:

CLEAR.DATA