home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!news.univie.ac.at!chx400!unine.ch!ifchalon
- From: Yann.Chalon@info.unine.ch
- Newsgroups: comp.lang.pascal
- Subject: Re: Stopping Control-C... I though I was...
- Message-ID: <1992Dec15.163511.1045@unine.ch>
- Date: 15 Dec 92 16:35:11 GMT
- References: <1992Dec13.093306.7988@crash>
- Organization: University of Neuchatel, Switzerland
- Lines: 19
-
- In article <1992Dec13.093306.7988@crash>, tech@crash.cts.com (Don Bontemps) writes:
-
- > I wrote an application program that I did not want the user to be able
- > to exit via pressing <control-C>. I included the "setcbreak := true"
- > line to my source code. This stops <control-C> but does not stop
- > <control-break> (ie: the break on the pause key). Can someone tell me
- > how to prevent <control-break> from doing this? Thanks.....!
-
- If you include the line "CheckBreak := True;" in your souce file, both
- <Ctrl-C> and <Ctrl-Break> are disabled.
-
- I always use it in my programs and it works fine.
-
- Greetings.
-
- Yann.Chalon@info.unine.ch
-
- From friday on : Yann.Chalon@etudiants.unine.ch
-
-