Date: Fri, 26 Jul 1996 11:22:22 -0400 (EDT) From: patrick fox To: Deren Ercoskun cc: djgpp Subject: Re: C question In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII If the key returned is a 0 then the next key is an extended key. Keys such as arrows and f-nn keys are returned as two bytes. 0 and another character. Hope that helps -Pat On Fri, 26 Jul 1996, Deren Ercoskun wrote: > How can I check the keyboard buffer to see if there is someething waiting > and if its an direction key how can I dertermine which one is it ?? > I use kbhit and getch but after getch I only get 0 ?? > > How can I determine the key > > help needed urgently please > > BlueStar >