>>is there on the disk but it has a size of zero.
>
>I believe fopen() will open a file of zero bytes.
>I haven't tested it tho.
Yep - as long as the file exists, FOPEN() will open it regardless of length if it can get the needed rights for it. To prove this:
cFileName = SYS(2015)
nFH=FCREATE(cFilename) && open for output
=FCLOSE(nFH) && close but write nothing to the file
? FSIZE(cFileName) && empty file = 0 length
? FOPEN(cFileName) && anything but -1 is OK...