Fw: exists update

Kenneth Brody kenbrody at bestweb.net
Mon Dec 6 19:50:27 PST 2004


Dennis Malen wrote:
> 
> Ken,
> 
> I am forwarding a prior e-mail that laid out the processing and when fg
> would equal "no". Hopefully that will give you some insight. Is there
> anything wrong with this processing?
[...]
> > if: fg="no"
> > then: gosub firstL
[...]
> > ~ If: exists("/tmp/rnx/banco.wp")="0"      'xe="0"
> > Then: fg="no"        'file not exist - create header
[...]

Does fg equal "no"?  Should it?  Did the file exist when you executed the
exists() function?  Was the exists() test even executed in the first place?
Was the exists() test true or false?  What do you expect to happen if the
file does exist?

What "doesn't work"?

-- 
+-------------------------+--------------------+-----------------------------+
| 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