Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!mcnc!ecsvax!bass From: bass@ecsvax.UUCP (Jeff Bass) Newsgroups: comp.sys.ibm.pc Subject: Re: Opening files for shared read in Turbo Pascal Message-ID: <2809@ecsvax.UUCP> Date: Wed, 18-Mar-87 21:20:26 EST Article-I.D.: ecsvax.2809 Posted: Wed Mar 18 21:20:26 1987 Date-Received: Sat, 21-Mar-87 04:56:24 EST References: <2793@ecsvax.UUCP> Organization: UNC Educational Computing Service Lines: 13 Summary: More "read only" problems with TURBO I also had a "read only" problem with TURBO Pascal. I was using open and reset with the $I- option to detect whether a file existed or not. I got errors as expected when the filename opened did not exist. I was surprised to find that I got the same error if the file was marked read-only (as can be done with various attribute diddling utilites). In other words, TURBO cannot open a read only file for read only. Hmmm... Jeff Bass BASS Institute Inc., P O Box 349, Chapel Hill, NC 27514 bass@ecsvax