exists command
    Kenneth Brody 
    kenbrody at bestweb.net
       
    Mon Dec  6 15:25:09 PST 2004
    
    
  
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