Verify a file exists
Richard Kreiss
rkreiss at verizon.net
Thu Mar 17 06:34:27 PDT 2011
> -----Original Message-----
> From: filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com
> [mailto:filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com] On
> Behalf Of Kenneth Brody
> Sent: Thursday, March 17, 2011 9:08 AM
> To: lgf at lgfcomputers.net
> Cc: filepro
> Subject: Re: Verify a file exists
>
> On 3/16/2011 9:23 PM, Ed Hilovsky wrote:
> > When using Linux filepro, what would be the best method to verify a
> > XML file exists ? I tried using an open command for the filename ( a=
> > open(D) ) D being defined as the file in question. I check to see if a
> > is negative, meaning the file doesn't exist. It doesn't seem to work
>
> DDW.
>
> (And what's with people saying that things don't "seem" to work?)
>
> On the other hand, there's always the EXISTS() function.
>
> --
Ken,
I think that many of us use "Doesn't seem to work" not as a filePro problem
but in terms that what we, the programmer, have written, does not work as
expected. That includes using the wrong function or not quite programming
our process correctly.
I realize that this must be frustrating for you as you and many others see
what is wrong and try to guide the poster to the correct solution.
I have a feeling that most of us only use a small portion of the functions
that are available in the filePro programming language. I know that I look
through the reference books I have to see if there are any functions
available that I have not used or haven't used in many years and forgot
about. This includes Laura's help file and Stuart Werner's Developers
Reference Manual. I have also been reviewing my original Xenix manual as
many of the programming suggestions used there are still relevant today. I
still have my profile manual for 3.0 - 4.0 and the 4.5 supplement.
Richard Kreiss
More information about the Filepro-list
mailing list