program test(adsbygoogle = window.adsbygoogle || []).push({});

open(50,file='test.dat')

write(6 ,FMT='(I3,/)') 111

WRITE(6 ,FMT='(I3,/)') 222

write(50,FMT='(I3,/)') 111

WRITE(50,FMT='(I3,/)') 222

close(50)

end

In the above, at the screen i see:

111

222

but in the dat file i see:

111222

How can i change line in the file??

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Newline in fortran

Loading...

Similar Threads for Newline fortran |
---|

Fortran Successive Over Relaxation Method in FORTRAN |

If statement for Monte Carlo integration |

C/++/# How to use C++ in studying calculus |

Fortran How to buy Fortran Programming Software Commersial License |

Fortran Fortran for Computational Fluid Dynamics Problems |

**Physics Forums | Science Articles, Homework Help, Discussion**