home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / pascal / 5330 < prev    next >
Encoding:
Text File  |  1992-09-11  |  1.6 KB  |  37 lines

  1. Newsgroups: comp.lang.pascal
  2. Path: sparky!uunet!mcsun!news.funet.fi!uwasa.fi!ts
  3. From: ts@uwasa.fi (Timo Salmi)
  4. Subject: Re: Ctrl-Break in TP 6.0 programs
  5. Message-ID: <1992Sep11.132606.5917@uwasa.fi>
  6. Organization: University of Vaasa, Finland
  7. References: <5341@tuegate.tue.nl> <exuptr.475.716143552@exu.ericsson.se> <1992Sep11.103038.11122@lugb.latrobe.edu.au>
  8. Date: Fri, 11 Sep 1992 13:26:06 GMT
  9. Lines: 26
  10.  
  11. In article <1992Sep11.103038.11122@lugb.latrobe.edu.au> 9125113g@lux.latrobe.edu.au (Mitch Davis) writes:
  12. >In article <exuptr.475.716143552@exu.ericsson.se> exuptr@exu.ericsson.se (exuptr@exu.ericsson.se) writes:
  13. >>*Sigh*
  14. >>Checkbreak := false;
  15. >
  16. >Sigh.  CheckBreak controls whether DOS checks for Ctrl-Break ALL the
  17. >time, or just when doing console input/output.  It is still possible for
  18. >programs that have CheckBreak := false to be halted using Ctrl-Break.
  19.  
  20. Sigh^3 (no, just kidding :-).  But the CheckBreak := false _*does*_
  21. work in TP because it allows one to catch the break (and ^C) key by
  22. keyPressed and ReadKey functions.  The more involved interrupts are
  23. needed if one wants to be able to break at non-input/output times.
  24. If you find the former hard to swallow try out the example code in
  25.  112730 Jun 13 12:23 garbo.uwasa.fi:/pc/ts/tsfaq29.zip
  26.  
  27. I think that you might be confusing the CheckBreak and SetCBreak TP
  28. keywords with one another. 
  29.  
  30. All the best, Timo
  31.  
  32. ..................................................................
  33. Prof. Timo Salmi
  34. Moderating at garbo.uwasa.fi anonymous FTP archives 128.214.87.1
  35. Faculty of Accounting & Industrial Management; University of Vaasa
  36. Internet: ts@uwasa.fi Bitnet: salmi@finfun   ; SF-65101, Finland
  37.