PurgeInput change
This commit is contained in:
parent
4e2fcf4584
commit
21a5279d38
|
@ -57,14 +57,14 @@ Begin
|
|||
End;
|
||||
|
||||
Procedure TIOBase.PurgeInputData;
|
||||
Var
|
||||
Buf : Array[1..2048] of Char;
|
||||
//Var
|
||||
// Buf : Array[1..2048] of Char;
|
||||
Begin
|
||||
FInBufPos := 0;
|
||||
FInBufEnd := 0;
|
||||
|
||||
While DataWaiting Do
|
||||
ReadBuf(Buf, SizeOf(Buf));
|
||||
// While DataWaiting Do
|
||||
// ReadBuf(Buf, SizeOf(Buf));
|
||||
End;
|
||||
|
||||
Function TIOBase.DataWaiting : Boolean;
|
||||
|
|
Loading…
Reference in New Issue