Re: Problem with file writing



On May 30, 1:36 pm, Philippe <philippe.s...@xxxxxxxx> wrote:
Hi everyone,

I have a problem when trying to write a couple of numbers to a file: I
get artifacts ilke

    10      0.359E-02
    11      0.348E-02
    12      0.339E-02£±_ « .:     0.331E-02
    14      0.324E-02
    15      0.318E-02
or

    84      0.239E-02
    85      0.2£±_ « .:   86      0.238E-02
    87      0.238E-02
    88      0.238E-02
in my file when I write them using write(outunit,'(I6,E15.3)') i,x
When I plot them to the screen, everything is fine.

Compiler is gfortan, system is Debian Lenny if this is necessary.

thanks in advance for any help!
Philippe

Please post the smallest example program that reproduces your problem.
Otherwise it is pointless to guess what might be the problem.

- e



.