Skip to content
Prev 305496 / 398506 Next

Creation of text files for use with UCODE_2005

Have you looked at the sprintf function?  E.g.,
N:    3.14    STATE:Ohio <eol>
N:   31.40    STATE:Oklahoma <eol>
N:  314.00    STATE:Oregon <eol>
N: 3140.00    STATE:Pennsylv <eol>
N:31400.00    STATE:Rhode Is <eol>
N:3.14        STATE:Ohio     <eol>
N:31.40       STATE:Oklahoma <eol>
N:314.00      STATE:Oregon   <eol>
N:3140.00     STATE:Pennsylv <eol>
N:31400.00    STATE:Rhode Is <eol>
N:00003.14    STATE:    Ohio <eol>
N:00031.40    STATE:Oklahoma <eol>
N:00314.00    STATE:  Oregon <eol>
N:03140.00    STATE:Pennsylv <eol>
N:31400.00    STATE:Rhode Is <eol>

(View with a fixed-width font to see the spacing properly.)

Bill Dunlap
Spotfire, TIBCO Software
wdunlap tibco.com