home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!destroyer!gatech!prism!gtd205a
- From: gtd205a@prism.gatech.EDU (James Houghton Crouch)
- Newsgroups: comp.lang.pascal
- Subject: Re: reading alternate keys on ibm from turbo
- Message-ID: <73862@hydra.gatech.EDU>
- Date: 6 Nov 92 12:54:49 GMT
- References: <1dbruiINNbai@uwm.edu>
- Distribution: usa
- Organization: Georgia Institute of Technology
- Lines: 19
-
- >procedure keyread (var ch: char; var alt: boolean);
- > begin
- > ch:= readkey;
- > alt:= (ch=#0) and keypressed;
- > if alt then ch:= readkey;
- > end;
-
- I think that this program will also return the arrow
- keys, PageUp, PageDown, and quite a few others.
-
- I'm pretty sure that TP firsts reads a #0 and then a code for these keys
- too
-
-
- --
- _________________________________________________________________________
- Hody Crouch | Georgia Tech | Internet: gtd205a@prism.gatech.edu
- Chemistry Major | Atlanta, GA 30332 | Snail Mail: 34353 GT Station
- ________________|____________________|___________________________________
-