maximum output line length in fortran under linux
Hi,
The following code open(1,file='tw') x=sin(1.0) write(1,*) x,x,x,x,x,x,x,x,x close(1) stop end compiled with g77 or f2c and run under linux produces two lines instead of one in tw: the output line is wrapped somewhere about 80-th column. How to change this behaviour? Thanks Sergei |
Re: maximum output line length in fortran under li
Use a formatted output, e.g.
write(1,'(9e14.6)') x,x,x,x,x,x,x,x,x |
Re: maximum output line length in fortran under li
Thanks, Stefan,
I've just found it out myself 5 min ago :). Sergei |
All times are GMT -4. The time now is 06:34. |