PASS <pathname> FIELD SHARE? N
GOSUB --- .FILE EXISTS
* check for errors
Line: 25 to 24
The subroutine tries to open the file for Read access, and if it cannot, it returns a "N". It cannot distinguish between a file that does not exist and a file it cannot open due to file permissions, both cases will return "N".
Changed:
< <
You can also use this to test if a directory exists by passing a directory name.
> >
You can also use this to test if a directory exists by passing a directory name (Unix/Linux only).
Comments:
Read what other users have said about this page or add your own comments.