[comp.lang.pascal] File existence and Pascal in Sun 4, repost

ts@chyde.uwasa.fi (Timo Salmi LASK) (08/27/89)

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.  This to start with. 
I shall probably have some more questions later. 

Email is welcome, but a in my opinion messages here in the news are
preferable, because that way knowledge disseminates better.  (And
that is what this system is all about, if you pardon my
meta-comment.)

...................................................................
Prof. Timo Salmi                                (Site 128.214.12.3)
School of Business Studies, University of Vaasa, SF-65101, Finland
Internet: ts@chyde.uwasa.fi Funet: vakk::salmi Bitnet: salmi@finfun

schwartz@shire.cs.psu.edu (Scott Schwartz) (08/28/89)

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		<schwartz@shire.cs.psu.edu>