home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / msdos / programm / 11556 < prev    next >
Encoding:
Text File  |  1992-12-22  |  988 b   |  26 lines

  1. Newsgroups: comp.os.msdos.programmer
  2. Path: sparky!uunet!rei2!fox
  3. From: fox@rei.com (Fuzzy Fox)
  4. Subject: Re: Difference between "ESC" and "8" ??
  5. Message-ID: <1992Dec21.185303.2327@rei.com>
  6. Date: Mon, 21 Dec 1992 18:53:03 GMT
  7. References: <1992Dec19.044654.25980@mnemosyne.cs.du.edu> <1992Dec19.051917.28801@mnemosyne.cs.du.edu>
  8. Organization: Recognition Equipment, Inc.
  9. Lines: 15
  10.  
  11. slindsay@nyx.cs.du.edu (Steve Lindsay) writes:
  12.  
  13. >Sorry people.... I meant to say in this original post how
  14. >do you make it tell the difference between the "8" key and
  15. >the "Backspace" key not the ESC key...
  16.  
  17. When I read the keyboard with getch(), the backspace key returns 0x08,
  18. and the 8 key returns 0x38.  What method are you using to read the
  19. keyboard?
  20.  
  21. -- 
  22. #ifdef TRUE        | Fuzzy Fox (a.k.a. David DeSimone)       fuzzy@netcom.com
  23. #define  TRUE   0  |
  24. #define  FALSE  1  |  "You have been recruited by the Star League to defend
  25. #endif             |     the Frontier against Xur and the Kodan Armada."
  26.