How do I force export from within a loop

Brian K. White brian at aljex.com
Thu Aug 18 08:53:03 PDT 2005


----- Original Message ----- 
From: "Kenneth Brody" <kenbrody at bestweb.net>
To: "Brian K. White" <brian at aljex.com>
Cc: "filePro mailing list" <filepro-list at seaslug.org>
Sent: Wednesday, August 17, 2005 6:08 PM
Subject: Re: How do I force export from within a loop


> Quoting Brian K. White (Wed, 17 Aug 2005 16:56:08 -0400):
> [...]
>> > This is not correct. If Stuart has explained it that way in his book,
>> > no matter how many times he's reprinted it, he's still wrong. A WRITE
>> > will in no way export a line to an export file. Unless, the EXPORT
>> > line itself is within the loop (getnext or any other kind of loop
>> > which gets successive records) nothing will be added to the export
>> > file. So, unless you mean something else, or Stuart explained it some
>> > other way, this is just not > correct.
> [...]
>> Sure it will. As long as you allow that he might have meant write().
>
> WRITE() won't work without an open file handle from OPEN() or CREATE().
> It won't work with EXPORT, which is what we're talking about here.

Let me clarify,
I was implying a routine base on the file i/o command "write()" in place of 
export, not in conjuction with it.

Brian K. White  --  brian at aljex.com  --  http://www.aljex.com/bkw/
+++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
filePro  BBx    Linux  SCO  FreeBSD    #callahans  Satriani  Filk!



More information about the Filepro-list mailing list