Export line feed

George gclute at comcast.net
Tue Oct 17 18:42:11 PDT 2006


I thought I understood the syntax on adding a line feed from some previous
posts, however I'm having a problem getting each record processed to add a
line feed CHR("10") to the last field. Note the last field is & with a
chr("10"), but the exported file does not reflect spaces between lines.

What am I missing here?

::fn="/u/tmp/foo/"{"U"{@tm:
:'Export ASCII, comma delimited; 1 line/record:export ascii exp=(fn) r=\n
f=, -x:
:'start with first field =barcode:exp(1)=1:
:'Day of the week served mtwhfsu:exp(2)=25:
:'Route number:oa=mid(2,"3","2"); exp(3)=oa:
:'Stop Sequence:exp(4)=26:
:'account number  sending 8 character account number:exp(5)=2:
:'type of garment from item number:exp(6)=4:
:'Identity or wearer of garment name:exp(7)=3:
:'Final routing/destination.:exp(8)="":
:'27 ne ""          'auto routing code:exp(9)=27:
:'27 eq "":'exp(9)="A":
:28 ne "Y" 'Posting record to Softrol routing machine.:28="Y":
:28 eq "":28="," & chr("10"):
:28 ne "":28=28 & chr("10"):
::end:



-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.4/480 - Release Date: 10/17/2006
 



More information about the Filepro-list mailing list