exists update

Dennis Malen dmalen at malen.com
Mon Dec 6 19:09:35 PST 2004


Because the header is not written to the file.

Dennis
----- Original Message ----- 
From: "Kenneth Brody" <kenbrody at bestweb.net>
To: "Dennis Malen" <dmalen at malen.com>
Cc: <filepro-list at lists.celestial.com>
Sent: Monday, December 06, 2004 10:07 PM
Subject: Re: exists update


> 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