Re: WRITE + new line



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
.



Relevant Pages

  • Re: Index ( )
    ... "The sum of the third column in the first area of the range A1:C11, ... Array vs. Reference ... INDEXis categorized into array form and reference form. ...
    (microsoft.public.excel.newusers)
  • Re: Index ( )
    ... My vote is the former. ... Array vs. Reference ... INDEXis categorized into array form and reference form. ...
    (microsoft.public.excel.newusers)
  • Re: search for a specific word and copy the word and the preceeding words until a comma
    ... there is no need of array form in the examples given. ... This behavior is similar to standard Excel functions. ... Furthermore, if you require a horizontal array, change the array constant to ...
    (microsoft.public.excel.programming)
  • Re: implementation of edge detection and segmentation of nuchal
    ... image so i need help to convert image to array so that i can ... array form and interfacing these modules to obtain the ... Look, alok, you seriously need to consider how ... and segmentation of the portion of the image i am working on ...
    (comp.soft-sys.matlab)
  • Re: How do I output an array twice via pipe instead of only once?
    ... array, my script sends them both over at the same time. ... print OUTPUT @array1; ... You did not send any newlines in the first send, ...
    (perl.beginners)