From: JP Software Forums [mailto:[email protected]]
Sent: Thursday, November 06, 2008 9:28 AM
Subject: RE: [Support-t-593] Re: Does a subfolder exist?
>
> ---Quote (Originally by rawood11)---
> > iff %@filesize["m:\taqDAILYNBBO\%@substr[%x,16]"] == -1 then
> >
> > does -1 indicate that the folder does not exist?
>
> Yes (0 means that the file(s) exist but are 0-length).
No! Not necessarily. A return value of -1 could mean that the folder exists
but doesn't contain the specified file. Generally, it isn't possible to tell
from %@FILESIZE whether the *folder* exists. Check out the ISDIR operator --
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.