home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / msdos / programm / 8633 < prev    next >
Encoding:
Text File  |  1992-08-19  |  1.5 KB  |  37 lines

  1. Newsgroups: comp.os.msdos.programmer
  2. Path: sparky!uunet!sdl!adk
  3. From: adk@Warren.MENTORG.COM (Ajay Kamdar)
  4. Subject: dBASE III Plus question
  5. Message-ID: <1992Aug19.192220.18871@Warren.MENTORG.COM>
  6. Organization: Mentor Graphics, Silicon Design Division
  7. Date: Wed, 19 Aug 1992 19:22:20 GMT
  8. Lines: 27
  9.  
  10. My apologies if this question is inappropriate for this newsgroup. The
  11. FAQ did not seem to suggest a better newsgroup for this question.
  12.  
  13. In a dBASE III Plus program, I am using INKEY() to read the ASCII code of
  14. the last key pressed. This seems to mostly work, except for a few keys.
  15. INKEY() reads all the cursor control keys but the <- key; for <- it simply
  16. returns a 0. There are other keys which INKEY() does not report either, but I
  17. am not much worried about those. It would suffice for my purpose if I can
  18. some how make INKEY() to report the <- key. Please note that I have already
  19. verified that the <- key is working properly on my keyboard.
  20.  
  21. Thanks.
  22.  
  23. - Ajay
  24.  
  25. p.s. What I am trying to really do is implement "Quicken" style menus inside
  26.      dBASE. @..GET...READ obviously does not suffice for this purpose. Using
  27.      INKEY(), and implementing simple editing within a field, was the only
  28.      way I could think of to do this. I am a complete novice on PCs and
  29.      dBASE (less than a week), and would much appreciate if some one has
  30.      a better suggestion. If it matters, I am an experienced C/C++ programmer.
  31.  
  32. -- 
  33. I speak for none but myself.
  34.  
  35. Ajay Kamdar                               Email : ajay_kamdar@mentorg.com
  36. Mentor Graphics, IC Group (Warren, NJ)    Phone : (908) 580-0102
  37.