lsatenstein
22nd January 2005, 23:02
I had a requirement to convert a lot of data to text, following many formats. In fact the table was tisfc001.
I created a format list to sprintf$, and then preceded to list the fields, corresponding to the format. (I restricted the listing to 25 fields for the 25 format strings).
I found substantial errors in the sprintf$() output. Finally, I chopped my list down to a smaller format list (10 fields) with 10 entries, and it worked just fine.
Is there a document somewhere which lists the limits to sprintf$().
Also, how would one put an end-of-line character into the output of sprintf$
I tried \n in the format string, but that did not work.
Les.
I created a format list to sprintf$, and then preceded to list the fields, corresponding to the format. (I restricted the listing to 25 fields for the 25 format strings).
I found substantial errors in the sprintf$() output. Finally, I chopped my list down to a smaller format list (10 fields) with 10 entries, and it worked just fine.
Is there a document somewhere which lists the limits to sprintf$().
Also, how would one put an end-of-line character into the output of sprintf$
I tried \n in the format string, but that did not work.
Les.