From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6482d0ae6dcb1b4c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-09-22 22:32:20 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: if file exist Date: 23 Sep 2002 06:14:38 +0100 Organization: Pushface Sender: simon@smaug Message-ID: References: NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1032759139 16890 62.49.19.209 (23 Sep 2002 05:32:19 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Mon, 23 Sep 2002 05:32:19 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Xref: archiver1.google.com comp.lang.ada:29271 Date: 2002-09-23T06:14:38+01:00 List-Id: Dale Stanbrough writes: > Simon Wright wrote: > > > and is readable (assuning you tried to open it for read!). It might > > exist and not be readable, in which case this test would fail. > > No, my test will succeed in that -if- it exists, and -if- it > opens successfully, then it does exist. > I said nothing about other conditions. No, but you introduced the feature that the file must be readable; which was not in the original poster's requirements.