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