Hello, folks -
I've had to pick up an old project that I wrote a long time ago.
The app is running under MS-DOS 6.22 and I'm writing the code to compile under PD for DOS, version 3.22.
One of the functions that I wrote is called FileExists. It is to return %False if it cannot fine the file that was passed to it as an argument, and to return %True if it finds the file.
It also attempts to cope with the entire path information provided as an argument, for those situations where the sought file is expected in a subdirectory other than what is currently local.
For some reason, the program does not detect files that it should.
Do any of you have a similar function that I could study?
Kurt Schultz
I've had to pick up an old project that I wrote a long time ago.
The app is running under MS-DOS 6.22 and I'm writing the code to compile under PD for DOS, version 3.22.
One of the functions that I wrote is called FileExists. It is to return %False if it cannot fine the file that was passed to it as an argument, and to return %True if it finds the file.
It also attempts to cope with the entire path information provided as an argument, for those situations where the sought file is expected in a subdirectory other than what is currently local.
For some reason, the program does not detect files that it should.
Do any of you have a similar function that I could study?
Kurt Schultz
Comment