exists command
Dennis Malen
dmalen at malen.com
Mon Dec 6 15:33:33 PST 2004
Jean-Pieere,
Everyone is saying that it does not. Must I only use "eq" instead of "le".
I don't think that should make a differnece. In any event, "le" does not
work.
Dennis
----- Original Message -----
From: "Jean-Pierre A. Radley" <appl at jpr.com>
To: "FilePro Mailing List" <filepro-list at seaslug.org>
Sent: Monday, December 06, 2004 5:59 PM
Subject: Re: exists command
> Mark Luljak propounded (on Mon, Dec 06, 2004 at 05:41:34PM -0500):
> | With neither thought nor caution, J. P. Radley blurted:
> | > Use the dcabe help file, which shows you that the syntax is
> | >
> | > a=exists(file).
> | >
> | > Thus you want:
> | >
> | > then: ee=exists("/tmp/rnx/banco.wp")
> | > if: ee eq "0"
> | > then: do something
> |
> | If I understood Ken correctly about non-boolean expressions, can't you
> | knock that down to a single line?
> |
> | if: exists("/tmp/rnx/banco.wp") eq "0"
> | then: 'do something
>
> Yes, you can...
>
> --
> JP
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>
>
>
More information about the Filepro-list
mailing list