Re: WRITE + new line
- From: nospam@xxxxxxxxxxxxx (Richard E Maine)
- Date: Tue, 15 Nov 2005 10:39:24 -0800
Dan Nagle <dannagle@xxxxxxxxxxx> wrote:
> Richard E Maine wrote:
>
> > The processor choice in question is for additional newlines during the
> > data transfer; the initial one is not at the processor's option.
>
> It's not a question of the _initial_ new line,
> but of a new line being implied (or not) by a new row
> when the array is specified as a whole array.
Ah. Then context was lost by someone somewhere along the line. For a
whole array, I'd certainly agree. And somewhere in this thread, someone
did show a whole array form. But the code snippet that this claim was
about, copied&pasted directly from your posting on it, was
> >>DO i=1, length1
> >> WRITE(*,*) (array(i,j), j=1, length2)
> >>END DO
> >>but it still uses a new line for each entry.
> >
> > This should start a new line for each row.
>
> Actually, no.
That is not a whole array form and, quoting directly from glenn's
followup, which I 100% agree with
> It should still start a new line for each row. It may start a new line
> in other places, too.
--
Richard Maine | Good judgment comes from experience;
email: my first.last at org.domain| experience comes from bad judgment.
org: nasa, domain: gov | -- Mark Twain
.
- References:
- WRITE + new line
- From: Martin Glaser
- Re: WRITE + new line
- From: robin
- Re: WRITE + new line
- From: Dan Nagle
- Re: WRITE + new line
- From: glen herrmannsfeldt
- Re: WRITE + new line
- From: Dan Nagle
- Re: WRITE + new line
- From: Richard E Maine
- Re: WRITE + new line
- From: Dan Nagle
- WRITE + new line
- Prev by Date: Re: WRITE + new line
- Next by Date: Re: X11 libraries for FORTRAN on OSX or Linux?
- Previous by thread: Re: WRITE + new line
- Next by thread: Re: WRITE + new line
- Index(es):
Relevant Pages
|
|