Fw: exists update

Brian K. White brian at aljex.com
Mon Dec 6 20:27:31 PST 2004


----- Original Message ----- 
From: "Brian K. White" <brian at aljex.com>
To: "Dennis Malen" <dmalen at malen.com>
Sent: Monday, December 06, 2004 11:27 PM
Subject: Re: exists update


>
> ----- Original Message ----- 
> From: "Dennis Malen" <dmalen at malen.com>
> To: "Kenneth Brody" <kenbrody at bestweb.net>
> Cc: <filepro-list at lists.celestial.com>
> Sent: Monday, December 06, 2004 10:09 PM
> Subject: Re: exists update
>
>
>> Because the header is not written to the file.
>
> What he's trying to get you to see is that you have not shown that the 
> problem is exists()
> A file not getting created is far more likely a problem with how & when & 
> where you are creating the file.
> One time what was happening to me in a very similar situation was the 
> header _was_ getting created, but the data export that followed 
> immediately after was overwriting the file, zapping the header.
>
> Brian K. White  --  brian at aljex.com  --  http://www.aljex.com/bkw/
> +++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
> filePro BBx  Linux SCO  Prosper/FACTS AutoCAD  #callahans Satriani
>
>
>>
>> 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:07 PM
>> Subject: Re: exists update
>>
>>
>>> Dennis Malen wrote:
>>> >
>>> > It is suppose to create the header when the file does not exist (I
>> provided
>>> > that processing in a prior e-mail, although I can give it to you again
>> if
>>> > you wish).
>>> >
>>> > The header is not created although the rest of the export file works
>>> > properly as the info is appended many times throughout the day 
>>> > properly
>>> >
>>> > The header is not created when the file does not exists. The "exists"
>>> > command is before the export command so it would be impossible for
>> filepro
>>> > to see something that is not there.
>>>
>>> In what way does the exists() function "not work"?
>>>
>>> [...]
>>> > > >   If: exists("/tmp/rnx/banco.wp")="0"      'xe="0"
>>> > > > Then: fg="no"        'file not exist - create header
>>> > >
>>> > > Does the exists() ever return zero when the file exists?  Does it 
>>> > > ever
>>> > > return non-zero when the file does not exist?  What is supposed to
>> happen
>>> > > if exists() returns non-zero?
>>>
>>>
>>> -- 
>>>
>> +-------------------------+--------------------+----------------------------
>> -+
>>> | 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>
>>>
>>>
>>>
>>>
>>
>>
>> _______________________________________________
>> 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