exists update
Dennis Malen
dmalen at malen.com
Mon Dec 6 19:47:31 PST 2004
ken,
You are correct.
If the file does not exist then fg="no". Take a look at the processing I
just sent.
Thanks,
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:45 PM
Subject: Re: exists update
> Dennis Malen wrote:
> >
> > Mark,
> >
> > You are exactly correct as to what I want to do.
> >
> > I will create a flag and message box that let's me know what the value
of
> > "exists" is. Although I prefer to use a dummay variable to hold the
value of
> > "exists", but I've been told I don't have to.
>
> You don't need a dummy field, as the following are equivalent:
>
> If:
> Then: xx = exists(filename)
> If: xx = "0"
> Then: ... do something ...
>
> and
>
> If: exists(filename) = "0"
> Then: ... do something ...
>
> Unless you need to save the result for use again later on, there is no
> need to use an intermediary field.
>
> > No one has indicated the processing I have submitted is incorrect. I
have to
> > get to "firstL". No one has indicated my processing to get there is
wrong.
> >
> > What am I missing?
>
> You said:
>
> > The following does not work:
> >
> > if: fg="no"
> > then: gosub firstL
>
> I can only assume that you really mean "fg does not equal 'no' when I
> think it should". (As opposed to "fg does equal 'no', but filePro
> still says the above is false.) However, that is only a guess on my
> part, since you have yet to define "does not work".
>
> What does fg equal? What set it to that value? Why do you think that
> it should have been set to something else?
>
> What is "not working"?
>
> --
>
+-------------------------+--------------------+----------------------------
-+
> | 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