Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!ucsd!dog.ee.lbl.gov!nosc!crash!nkraft From: nkraft@crash.cts.com (Norman Kraft) Newsgroups: comp.lang.pascal Subject: Re: Disable Control-Break in TP version 4 Summary: Set CheckBreak := False Message-ID: <4871@crash.cts.com> Date: 8 Oct 90 19:11:28 GMT References: <4387@peora.ccur.com> Organization: Crash TimeSharing, El Cajon, CA Lines: 21 In article <4387@peora.ccur.com> tran@peora.ccur.com (Nhan Tran) writes: > > In Turbo Pascal 3, there is a compiler directive {$C-} that will > disable the Control-Break. > > In Turbo Pascal 4, that feature is no longer there. > > Does anyone know how to disable Control-Break in TP 4 ?? In TP 4.0-5.5 there is a global boolean variable called CheckBreak (comes from the System unit, automatically included). Set this to FALSE to do what the {$C-} did in TP 3.0. -------------------------------------------------------------------------- Norman R. Kraft "Things should be as simple Director, Software Development as possible, but not simpler." Postal Buddy Corporation, San Diego, CA - Albert Einstein INET nkraft@crash.cts.com UUCP {hplabs!hp-sdd ucsd nosc}!crash!nkraft Usual disclaimer applies... --------------------------------------------------------------------------