- #1
dvo
- 3
- 0
Hi I am trying to write the following into a file using visual studio 2005:
REAL :: X =5
open(1, file = 'File.txt')
write(1,*) X, X, X, X, X, X, X
END
Is there a way I can have the output on just one line?
I need it to be from the variable X instead of just changing it to '5'
The current output is:
5.000000 5.000000 5.000000 5.000000 5.000000
5.000000 5.000000
REAL :: X =5
open(1, file = 'File.txt')
write(1,*) X, X, X, X, X, X, X
END
Is there a way I can have the output on just one line?
I need it to be from the variable X instead of just changing it to '5'
The current output is:
5.000000 5.000000 5.000000 5.000000 5.000000
5.000000 5.000000