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