home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / pascal / 6381 < prev    next >
Encoding:
Internet Message Format  |  1992-11-08  |  1.2 KB

  1. Path: sparky!uunet!caen!uwm.edu!csd4.csd.uwm.edu!randyd
  2. From: randyd@csd4.csd.uwm.edu (Randall Elton Ding)
  3. Newsgroups: comp.lang.pascal
  4. Subject: Re: reading alternate keys on ibm from turbo
  5. Date: 6 Nov 1992 19:55:14 GMT
  6. Organization: Computing Services Division, University of Wisconsin - Milwaukee
  7. Lines: 24
  8. Distribution: usa
  9. Message-ID: <1deij2INNnva@uwm.edu>
  10. References: <1dbruiINNbai@uwm.edu> <73862@hydra.gatech.EDU>
  11. NNTP-Posting-Host: 129.89.7.4
  12.  
  13. In article <73862@hydra.gatech.EDU> gtd205a@prism.gatech.EDU (James Houghton Crouch) writes:
  14. >>procedure keyread (var ch: char; var alt: boolean);
  15. >>  begin
  16. >>    ch:= readkey;
  17. >>    alt:= (ch=#0) and keypressed;
  18. >>    if alt then ch:= readkey;
  19. >>  end;
  20. >
  21. >I think that this program will also return the arrow
  22. >keys, PageUp, PageDown, and quite a few others.  
  23. >
  24. >I'm pretty sure that TP firsts reads a #0 and then a code for these keys
  25. >too
  26.  
  27. Yes, That was the whole purpose for posting that function.
  28. The origional question was "how do I read page up/page down ...etc..."!
  29. My keyread function does in fact read everything except function keys
  30. 11 and 12.  Does anyone know how to read these two function keys 
  31. from TP?
  32.  
  33. randyd@csd4.csd.uwm.edu
  34.  
  35.  
  36.  
  37.