- #1
- 4
- 0
program test
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??
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??