exists update

Kenneth Brody kenbrody at bestweb.net
Mon Dec 6 18:46:50 PST 2004


Dennis Malen wrote:
> 
> Ken,
> 
> The following does not work:
> 
> if: fg="no"
> then: gosub firstL
[...]

When does it "not work", and it what way does it "not work"?  Why do
you think that the exists() call is the problem?

>   If: exists("/tmp/rnx/banco.wp")="0"      'xe="0"
> Then: fg="no"        'file not exist - create header

Does the exists() ever return zero when the file exists?  Does it ever
return non-zero when the file does not exist?  What is supposed to happen
if exists() returns non-zero?

-- 
+-------------------------+--------------------+-----------------------------+
| Kenneth J. Brody        | www.hvcomputer.com |                             |
| kenbrody/at\spamcop.net | www.fptech.com     | #include <std_disclaimer.h> |
+-------------------------+--------------------+-----------------------------+
Don't e-mail me at: <mailto:ThisIsASpamTrap at gmail.com>


More information about the Filepro-list mailing list