exists update
Dennis Malen
dmalen at malen.com
Mon Dec 6 18:53:39 PST 2004
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.
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 9:46 PM
Subject: Re: exists update
> 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