[fpc-pascal]file or fileexists?

Peter Vreman peter at freepascal.org
Mon Jan 5 13:14:28 CET 2004

> I've been trying to use the function file() to detect if a certain file
> is in the current path, but i've been receiving an error message.
> What is the correct funtion? I've already used fileexists(), but it's
> not correct also.

Please post the code you used. FileExists() does not print an error message.

More information about the fpc-pascal mailing list