In this FORTRAN 77 program:
program test
write(6,*) '- - - - - - - - - - - - - - - - - - - - - - - - - - ',
& '- - - - - - - - - - - - - - - - - - - - - - - - - -'
write(6,'(2G15.5)') 0.1,0.0
end
I get the following output with pgf77:
- - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - -
0.10000 0.00000E+00
I would like all the hyphens in a single line, and the zero printed as “0.00000” (or “0.0000”). I know I can do that by modifying the source, but that is quite cumbersome with a long program.
Can I add some flag or option to the compiler to get the desired output?