home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!uknet!almac!mike.dickson
- From: mike.dickson@almac.co.uk (Mike Dickson)
- Newsgroups: comp.lang.pascal
- Subject: Re: Avoiding system error
- Message-ID: <822.548.uupcb@almac.co.uk>
- Date: 23 Jan 93 17:05:00 GMT
- Reply-To: mike.dickson@almac.co.uk (Mike Dickson)
- Organization: Almac BBS Ltd. +44 (0)324 665371
- Lines: 11
-
- EH..The compiler directives {$I-} and {$I+} turn IO error checking off and on.
- EH..It's a good idea to turn it off before opening files and such, and then
- EH..checking DOSError to see if things are ok
-
- No, it's IOResult you ought to check for IO errors like this; DOSError
- only reports on erors returned by the operating system.
-
- /\/\ | |< |. mike.dickson@almac.co.uk
- ---
- . SLMR 2.1a . Official Tagline of the 1992 Olympics
-
-