X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: Raf256 Newsgroups: comp.os.msdos.djgpp Subject: Re: character input question Date: 12 Dec 2001 15:09:07 GMT Organization: aa Lines: 16 Sender: raf256 AT poczta DOT onet DOT pl@chello062179025129.chello.pl Message-ID: References: NNTP-Posting-Host: chello062179025129.chello.pl Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 8bit X-Trace: news.onet.pl 1008169747 22109 62.179.25.129 (12 Dec 2001 15:09:07 GMT) X-Complaints-To: abuse AT onet DOT pl NNTP-Posting-Date: 12 Dec 2001 15:09:07 GMT User-Agent: Xnews/4.06.22 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Eli Zaretskii wrote in news:Pine DOT SUN DOT 3 DOT 91 DOT 1011212162610 DOT 13122D-100000 AT is: >> Is there a way to continue executing a loop UNLESS a key has been >> pressed during the execution of the loop? > See the function kbhit(). or - Allegro library, then: if (key[ ... ]) -- Raf256 ,--, _ ,- _ _ _ |,-'`_|_|_ `_||_'|_' raf256 AT go2 DOT pl | `\|_| | |_,,_||_|