home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / pascal / 7487 < prev    next >
Encoding:
Internet Message Format  |  1992-12-15  |  1.0 KB

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