TheKKK
Mechanical
- Mar 22, 2009
- 21
I use gfortran on cygwin and in a simple code like:
i get:
firstnamelastname
instead of
firstname
lastname
i also tried
and
with no results.
What can be the problem??
Code:
program test
open(50,file='test.dat')
write(50,'(A)') 'firstname'
write(50,'(A)') 'lastname'
close(50)
end
i get:
firstnamelastname
instead of
firstname
lastname
i also tried
Code:
write(50,'(A/)') 'firstname'
write(50,'(A/)') 'lastname'
Code:
write(50,'(A)',ADVANCE='YES') 'firstname'
write(50,'(A)') 'lastname'
What can be the problem??