Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!cs.utexas.edu!uunet!ncrlnk!wright!bkottman From: bkottman@wright.EDU (Brett Kottmann) Newsgroups: comp.lang.pascal Subject: Re: Clearing the keyboard buffer Message-ID: <708@thor.wright.EDU> Date: 2 Oct 89 19:08:31 GMT References: <1169@krafla.rhi.hi.is> Organization: Wright State University, Dayton OH, 45435 Lines: 30 in article <1169@krafla.rhi.hi.is>, karlth@rhi.hi.is (Karl Thoroddsen) says: > > While writing in TURBO 4.0 I've constantly encountered the problem > of not being able to flush(clear) the keyboard buffer. > > Is there anyone out there who can help me? > > Thanks in advance > > Karl Thoroddsen readln; or readln(garbage_variable); should do it. Although I'm shure there is a more elegant solution. Brett Kottmann Wright State U. ======================================================================= You may already be the winner of 500 million dollarsbut then again, so could any of the other 3 billion people we mailed this too! :) =======================================================================