Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

output

Status
Not open for further replies.

sabetik

IS-IT--Management
Nov 16, 2003
80
GU
Is there a way to add comma ",' to the output.

Ex:printf ("%-7s %-7s %-8s %-8s %-40s\n",fh1,fh2,fh3,fh4,fh5 ) > "test.DAT"

I would like to show:
252,test300,526448,45.25,xxxxx

Thanks
 
Replace the spaces in your format string with commas.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top