Re: Some formatting problems



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/
.



Relevant Pages

  • Re: Why does Outlook Express open all attachments with Word?
    ... >> Yes it is too much of a hassle if you have to do that will every email ... >> comes in - THANX FOR YOUR RESPONSE ... Prev by Date: ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Dentists: What would you do?
    ... > I follow that same rule, too, Tony. ... But read my response to Dr. Steve, ... Prev by Date: ...
    (sci.med.dentistry)
  • Re: e7even problems
    ... Same response as others a few minutes ago I ... tried my name in the format ... see http://www.hpcsolutions.co.uk help pages for details of this fix ... Prev by Date: ...
    (uk.telecom.broadband)
  • Re: Mary Poppins: The Musical
    ... So Steve, do I take it that you have the CD? ... Judging from your ... response, that's my preliminary assumption as of now. ... Prev by Date: ...
    (rec.arts.theatre.musicals)
  • Re: Getting diskfree to display its result with commas
    ... > mention @COMMA in the @format section. ... Steve ... Prev by Date: ...
    (comp.os.msdos.4dos)