Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!news.cs.indiana.edu!maytag!watstat.waterloo.edu!dmurdoch From: dmurdoch@watstat.waterloo.edu (Duncan Murdoch) Newsgroups: comp.lang.pascal Subject: Re: I/O checking Keywords: Turbo Pascal, I/O checking Message-ID: <1991Jun7.025541.9437@maytag.waterloo.edu> Date: 7 Jun 91 02:55:41 GMT References: <6832@gara.une.oz.au> Sender: news@maytag.waterloo.edu (News Owner) Organization: University of Waterloo Lines: 15 In article <6832@gara.une.oz.au> ijohnson@gara.une.oz.au (Ian Johnson) writes: > >If I have a program with several units, and switch the I/O checking off >in one of them, {$I-}, does this affect checking in the other units? No. $I- affects the way code is generated - there's no call to an error status routine in code generated with $I- in effect. There's one long range effect of $I-, though: after an error occurs, all I/O fails until the error is cleared by a call to IOResult. Duncan Murdoch dmurdoch@watstat.waterloo.edu