***SPAM*** RE: How do I force export from within a loop

Mike Schwartz (PC Support) mschw at athenet.net
Thu Aug 18 07:14:09 PDT 2005


> I was looking at code last month that I wrote 12 years ago which used this
> feature:
> 
> ::export ascii eee = somefile  r=\n f=,:
> :xx="":gosub header:
> ::eee(1)=1:
> ::write eee:
> ::end:
> ::':
> header:::
> ::eee(1)="Field1":
> ::write eee:
> ::return:
> 
> I thought that this code was inaccurate and changed the routines to call
> export for each line to be sent to the file.

     Yes, I believe that all of the exports that I have written with a
header line (and there have been hundreds of them) all have this structure.
I believe mine date back to at least filePro version 3.  All of them run
just fine this way.  

     I believe that Jeff Harrison's JHExport depends on this format, too.
By the way, JHExport is a great product that has saves me several hours a
month creating new export processing tables...

Mike Schwartz




More information about the Filepro-list mailing list