[fpc-pascal] FileExists inconsistency

Henry Vermaak henry.vermaak at gmail.com
Wed Jan 3 17:02:41 CET 2007


> > > On the other hand, in Unix, it should return true because otherwise code
> > > like:
> > >
> > > if not fileexists('abcd') then
> > > begin
> > > assign(f,'abcd');
> > > rewrite(f);
> > > end;
> > >

I just wrote a program using this code.  It works in linux, but
crashes in windows.  See attached...

Henry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fexists.JPG
Type: image/jpeg
Size: 53342 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20070103/fddd2d0f/attachment.jpe>


More information about the fpc-pascal mailing list