From: "Mark Usher" Newsgroups: comp.os.msdos.djgpp Subject: Key press in ASCII Date: Sun, 27 Jun 1999 19:20:55 +0200 Organization: Telenor magnet GmbH Lines: 14 Message-ID: <7l5mhn$h9q$1@orudios.magnet.at> NNTP-Posting-Host: n206p027.dipool.highway.telekom.at X-Trace: orudios.magnet.at 930504055 17722 195.3.121.187 (27 Jun 1999 17:20:55 GMT) X-Complaints-To: abuse AT magnet DOT at NNTP-Posting-Date: 27 Jun 1999 17:20:55 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Is there a function available that will give me the ascii value of a key press back ? If not, is there an easy way to convert the key press returned from getkey() to it's ASCII value. Basically I am trying to add the key pressed to a string without having to press return. ie key = getkey() strcat(kbdbuffer, ASCII(key) Mark marku AT magnet DOT at