exists update

Kenneth Brody kenbrody at bestweb.net
Mon Dec 6 19:07:00 PST 2004


Dennis Malen wrote:
> 
> It is suppose to create the header when the file does not exist (I provided
> that processing in a prior e-mail, although I can give it to you again if
> you wish).
> 
> The header is not created although the rest of the export file works
> properly as the info is appended many times throughout the day properly
> 
> The header is not created when the file does not exists. The "exists"
> command is before the export command so it would be impossible for filepro
> to see something that is not there.

In what way does the exists() function "not work"?

[...]
> > >   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