Re: Some formatting problems
- From: kargl@xxxxxxxxxxxxxxxxxxxxxxxxxxxx (Steven G. Kargl)
- Date: Wed, 23 Nov 2005 17:35:06 +0000 (UTC)
In article <1132766689.995115.10650@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
"BornAgainFortraner" <aprasad@xxxxxxxxx> writes:
> Thanks so much for such a quick response. I should have guessed that!
> However, the format of I0 and F0.2 are not implemented correctly in the
> g95 and the gfortran compilers on Windows/Cygwin. g95 implements I0
> correctly but not F0.2 while gfortran implements F0.2 and I0 correctly
> but not the 1x with advance="no" as I have explained below.
> Here is what happens with the foll. statements:
>
> DATA arr / 1, 208, 3, 4, 0, 6, 79, 0, 9, 10000, 0, 1200 /
> DATA rearr /23.4 245.9087 23.89 1.0009 109876.54678 1.89 29.89 16.0009
> 10986.54678 223.899 10.0009 10987698.54678 /
> DO I=1,R
> DO J=1,C
> WRITE(*, '(F0.2,1X)', advance='no') rearr(I,J)
> END DO
> END DO
This code does not compile, so one can't test your assertation.
What version of gfortran are you using?
--
Steve
http://troutmask.apl.washington.edu/~kargl/
.
- Follow-Ups:
- Re: Some formatting problems
- From: Steven G. Kargl
- Re: Some formatting problems
- References:
- Some formatting problems
- From: BornAgainFortraner
- Re: Some formatting problems
- From: BornAgainFortraner
- Some formatting problems
- Prev by Date: Re: Some formatting problems
- Next by Date: Problem that goes away when I turn debug on
- Previous by thread: Re: Some formatting problems
- Next by thread: Re: Some formatting problems
- Index(es):
Relevant Pages
|