home *** CD-ROM | disk | FTP | other *** search
- *******************************************************************************
- * kbdHdr *
- * keyBoard symbolic readKey, and simple ungetch function, Loewy Ron, 1991. V3 *
- * Last update : Mar. 16, 1991. *
- *******************************************************************************
-
- Introduction
- ------------
-
- Have you ever tried to read the keyBoard input using TP's infamous readKey
- procedure? of course you did, everyone does. And what happened if the user
- pressed Fx, or Alt-something - ReadKey returned 0 - and everything went wrong.
-
- The solution is simple - test for a 0, and if it is - call readKey again (To
- find out what it was). well - I think I've written this procedure about a ...
- (no - actually just half of that, but it still is boring and irritating), so
- one day I sat down to write my ultimate keyboard input routine - and here
- it is - The amazing getKey function - that returns in 1 character (if used
- with kbdHdr's constants) - almost every key combination on the keyBoard.
-
- In the process a simple unget char routine was added (unGetKey), and 2
- different simple keyboard flush routines.
-
- Now days I use kbdHdr in almost all of my TP programs, shareware and PD
- programs I released that use this unit include - 3D110, TXS11, APP14, JM100
- etc..
-
- Technical Documantation
- -----------------------
-
- Come on men - the source is provided and is as simple as can be.. it is
- nothing more then a nice easy way to simplify ones keyboard handling.
-
- Warranty
- --------
-
- There is no warranty what so ever, The unit and docs. are supplied as is,
- The author (Loewy Ron), is not, and will not be responsible for any damages,
- lost profits, or inconveniences caused by the use, or inability to
- use this unit. The use of the unit is at your own risk. By using the unit
- you agree to this.
-
- General
- -------
-
- kbdHdr is copyrighted by myself, (c) Loewy Ron, 1991. I release
- the source, and it can be used for commercial and non-commercial programs,
- The only restriction is that I should be a registered user of any commercial
- product that uses this library, and would be given credit for kbdHdr.
-
- No one but myself, (if I will) is allowed to charge money for kbdHdr,
- except then minimal distribution fees.
-
- Contact
- -------
-
- You can contact me on what-ever you want to at my address at :
-
- Loewy Ron,
- 9 Haneveem st.
- Herzeliya, 46465
- ISRAEL.
-
- OR
-
- Loewy Ron,
- Apt. 1,
- 20 Smolanskin st.
- Haifa, ISRAEL.
-
- Other programming units available from me include :
-
- mouseLib3 - an event driven mouse unit library.
- tpDESQ11 - a DESQview interface library. (just some portions of the API).
-
- Other public-domain, freeware and shareware programs by the same author
- include :
-
- JM100 : Jumpin' math - a popup scientific calculator.
- TXS11 : TeXt Search program.
- 3D110 : WWToolKit 3D demo applocation.
- WWToolKit : OOPS GUI Turbo-Pascal library. (with Ishai Ben-Aroya).
- MONITOR : Popup memory monitor.
- APP14 : Application Programable Pilot - menu system.
-
- Credits
- -------
-
- Turbo-Pascal is a copyright of Borland International.
-
- DESQview is a copyright of Quarterdeck Office Systems.
-