exists update

Fairlight fairlite at fairlite.com
Mon Dec 6 19:40:11 PST 2004


Four score and seven years--eh, screw that!
At about Mon, Dec 06, 2004 at 10:31:33PM -0500,
Dennis Malen blabbed on about:
> Mark,
> 
> You are exactly correct as to what I want to do.

At least I have that much correct so far.

> 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.

Whether you do or not depends on whether the existance has a potential for
change during the course of running any incarnation of the program.  If it
-can- disappear, you may as well skip the (tiny) overhead of using a dummy
variable, as you need to check it every time.  If it can't, then you may as
well use a dummy once and only perform the exists() check on the file if
the situation warrants it.

> 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?

Well, I deleted your original code earlier.  If you repost, I'll take a
peek at it again.  I can't tell from memory what you may have gotten wrong
in your code.  My pseudocode should have been a fair example of how to go
about it though.

By by all means, repost the relevant code and we'll have a look.

mark->
-- 
Bring the web-enabling power of OneGate to -your- filePro applications today!

Try the live filePro-based, OneGate-enabled demo at the following URL:
               http://www2.onnik.com/~fairlite/flfssindex.html


More information about the Filepro-list mailing list