conversion of data
GCC Consulting
gcc at optonline.net
Fri Aug 13 14:09:50 PDT 2004
Using Ken's suggestion of repeat()
Since you haven't said how many characters your number is:
if:
Then: n=xx{"" xx=field # of value
if:
Then: nl=dlen(n) 'give you the display length
if: 'do lookup using what ever parameters you use
then: lookup controlfile .......
If:
Then:ct=lookup(ff)-nl;
if:
Then: n=repeat("0",ct){xx
if:
then: xx=n;write;END
Richard Kreiss
GCC Consulting
More information about the Filepro-list
mailing list