Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!wuarchive!uunet!bcstec!galileo!rfh3273 From: rfh3273@galileo.rtn.ca.boeing.com (Dick Harrigill) Newsgroups: comp.lang.pascal Subject: Re: Bug In Turbo Pascal v6.0 - crt unit/checkbreak Message-ID: <381@galileo.rtn.ca.boeing.com> Date: 10 May 91 15:11:37 GMT References: <1991May9.032547.13756@cs.odu.edu> Organization: be30r Lines: 21 In article <1991May9.032547.13756@cs.odu.edu> popkin@ceawlin.cs.odu.edu (Brian N. Popkin) writes: >I am using the crt unit.. >I noticed that the checkbreak function only works part of the time. >... >var > CheckBreak : Boolean; You are redefining the CheckBreak variable. This is already decalared for you in the crt unit. Simply remove your own declaration and it should work fine. If you want to reuse the CheckBreak identifier, refer the the one in crt as: crt.checkbreak -- Dick Harrigill, an independent voice from: Boeing Commercial Airplanes M/S 9R-49 PO BOX 3707 Renton Avionics/Flight Systems Seattle, WA 91824 Computing Support (206) 393-9539 rfh3273@galileo.rtn.ca.boeing.com