QUESTION

Kenneth Brody kenbrody at bestweb.net
Thu Jun 5 08:05:50 PDT 2008


Quoting Robert Pulliam (Thu, 5 Jun 2008 10:30:52 -0400):

>  I  have employees who are key pounders.  AT the end of the day   
> there is a process - ie a batch file with 35 command lines
> that must be executed every day.  If they hit the enter key twice or  
>  more with their pounding this process runs exactly that many times.  
>   Using filepro - sco unix.  Is there a unix command that would   
> intercept the multiple enters or could i exit the entire batch file   
> with a filepro command.

Some versions of *nix will flush pending input if stty is used to
change the I/O mode.

You can tell filePro to eat all pending input before exiting with
something like:

   eatthem:
       If:  asc(inkey) ne "0"
     Then:  goto eatthem

-- 
Read the truth behind the movie "Expelled" at <http://www.ExpelledExposed.com>
--
KenBrody at BestWeb dot net        spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com


More information about the Filepro-list mailing list