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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

No new line? (Help Urgent!)

Status
Not open for further replies.

mayou

Technical User
Jul 25, 2006
1
US
I want to output a file that has at least 300 characters per line (25 columns of 10 or 20 caracters). I use the star for the format statement because i do not know the nature nor the number of decimals that my values have. Therefore how can i tell fortran to keep adding the values on the same line?

Please help me quickly!!!

Thanks!
 
I'm not sure if I get what you're asking exactly but I guess this can work.
write(10,*)(x(i),i=1,25)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top