ConFlush command

 

Usage:

ConFlush

 

Legacy Syntax:

INPUT FLUSH

 

Pseudo-object Syntax:

CON.INPUT.FLUSH

 

Removes all pending keyboard and mouse events from the console input buffer.

 

Conversion:

 

#IF %DEF(%PB_CC32)

  INPUT FLUSH

#ELSE

  ConFlush

#ENDIF

 

CON.INPUT.FLUSH or CONSOLE.INPUT.FLUSH may be substituted for INPUT FLUSH in programs written for PB/CC6.

 

See Also: ConInKey$, ConWaitKey$, ConInputLine