exists command
Dennis Malen
dmalen at malen.com
Mon Dec 6 15:37:51 PST 2004
Ken,
If I am not using a dummy variable to capture the value of exists, then
therein lies the problem.
I am using:
if: exists("/tmp/rnx/banco.wp") le "0"
Then: (do something)
There is no dummy variable to hold the value of exists.
Am I correct?
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 6:25 PM
Subject: Re: exists command
> Dennis Malen wrote:
> >
> > I am using the exists command in the following manner:
> >
> > if: exists("/tmp/rnx/banco.wp") le "0"
> > Then: (do something)
> >
> > Am I using exists wrong. I have quotes in the paren. If I take the
quotes out
> > I get an error.
> >
> > If the file does not exist I want it to do something.
>
> The statement you have is valid, and means "if the file doesn't exist
> [exists returns zero], or an error occurs checking if it exists [exists
> returns less than zero]".
>
> We can't answer "am I using exists wrong" without knowing what you are
> trying to do, and 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