Re: Help needed please

new topic     » goto parent     » topic index » view thread      » older message » newer message

Colin's answer was pretty good, but if you're just trying to get rid of =
extra CRLF's, etc., perhaps this line could work:

while getc(0)!=3D-1 do end while

As long as getc() returns a character, the buffer isn't flushed.  When it =
returns -1, that's the end of it all.

HTH,
Michael J. Sabal

>>> Sid.Sidebottom at ST.COM 07/20/00 04:01AM >>>
I've got a bit of a problem, and I can't seem to find the answer in =
RefMan.
How do you flush the kbd buffer (DOS)?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu