Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!lll-winken!xanth!cs.odu.edu!popkin From: popkin@ceawlin.cs.odu.edu (Brian N. Popkin) Newsgroups: comp.lang.pascal Subject: Bug In Turbo Pascal v6.0 - crt unit/checkbreak Message-ID: <1991May9.032547.13756@cs.odu.edu> Date: 9 May 91 03:25:47 GMT Sender: usenet@cs.odu.edu (Usenet News Poster) Organization: Old Dominion University, Norfolk, VA Lines: 38 Nntp-Posting-Host: ceawlin.cs.odu.edu I am writing a simple poker game in turbo pascal v6.0.. I am using the crt unit.. I noticed that the checkbreak function only works part of the time. ex) 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? Brian *-----------------------------------------------------------------------------* * Brian Popkin - Computer Science Major - Systems Programing * * Old Dominion University - Norfolk, Virginia USA * * * * Others Areas Of Interest: Artificial Intelligence, Expert Systems, * * Networks, And Telecommunications * * * * Email Address: popkin@cs.odu.ede - popkin@xanth.cs.odu.edu * *-----------------------------------------------------------------------------*