Is this normal? Unexpected export output when using multiple export commands ...

Jose Lerebours fp at fpgroups.com
Thu Oct 16 06:31:01 PDT 2008


I am working on a relative simple routine where potentially, two files 
could be created.  I am using two sub-routines to handle each potential 
file.  fileA would be a data file if all conditions are met and fileB is 
an error file if an error is encountered.

The routine where fileA is created exports about 65 fields.  The routine 
where fileB is created exports two fields.

I just noticed that when fileB is created, there is lot of blank fields.

I am using gosub command to create the export file using:

fn="fileB"; gosub mkExport

mkExport:
:
:export ascii outf = (fn) r=\n f=~
:
:return

Each routine then populates the fields as needed.  This does not bother 
at all nor causes any problem with my code but it did make me wonder and 
though I run it through the list.  I have employed this technique for 
years and have never noticed this behavior.

Regards,


Jose Lerebours
954-559-7186
http://www.fpgroups.com


More information about the Filepro-list mailing list