Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!rutgers!psuvax1!psuvax1!schwartz From: schwartz@shire.cs.psu.edu (Scott Schwartz) Newsgroups: comp.lang.pascal Subject: Re: File existence and Pascal in Sun 4, repost Message-ID: Date: 27 Aug 89 23:41:27 GMT References: <724@chyde.uwasa.fi> Organization: Pennsylvania State University, computer science Lines: 20 In-reply-to: ts@chyde.uwasa.fi's message of 27 Aug 89 06:21:16 GMT In article <724@chyde.uwasa.fi> ts@chyde.uwasa.fi (Timo Salmi LASK) writes: | I have written a fair number of Turbo Pascal programs, but much | fewer on standard pascal. I wonder if someone would save me the | trouble of finding out some elementary things myself considering Sun | 4 pc-compiler pascal. To start with, is there a function for | finding out whether a file exists, like using IOResult in Turbo | Pascal. If not, any other reasonable way without resorting to | systems access (or whatever) or C-programming. Resorting to sytems access is the most reasonable way to do it, and is not very hard. -- Scott Schwartz