Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!hpcc05!hpyhde4!hpycla!hpcuhc!hpcupt3!defaria@hpcupt3.cup.hp.com From: defaria@hpcupt3.cup.hp.com (Andy DeFaria) Newsgroups: comp.lang.pascal Subject: Re: Bug In Turbo Pascal v6.0 - crt unit/checkbreak Message-ID: <45670014@hpcupt3.cup.hp.com> Date: 13 May 91 18:27:45 GMT References: <1991May9.032547.13756@cs.odu.edu> Organization: Hewlett Packard, Cupertino Lines: 24 >/ hpcupt3:comp.lang.pascal / magyar@inside.caltech.edu (Igen Magyar Istvani) / 9:26 pm May 8, 1991 / >program poker(input,output); > >uses crt; > >var > CheckBreak : Boolean; > >begin > > { extra code deleted } > > CheckBreak := FALSE; >end. > >in the previous program, when I hit control-break, it still breaks and >doesn't disable the break key.. > >any suggestions? The above code merely sets your OWN CheckBreak Boolean variable to FALSE. Perhaps you should not define a CheckBreak variable and let TP set the real CheckBreak variable.