Re: Feed control

Liste des GroupesRevenir à cl fortran 
Sujet : Re: Feed control
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.fortran
Date : 04. Apr 2024, 21:33:06
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <uun2q1$s192$2@dont-email.me>
References : 1 2 3 4
User-Agent : Pan/0.155 (Kherson; fc5a80b8)
On Wed, 3 Apr 2024 19:20:30 -0500, Lynn McGuire wrote:

On 4/3/2024 5:38 PM, Lawrence D'Oliveiro wrote:
>
On Wed, 3 Apr 2024 15:47:13 -0500, Lynn McGuire wrote:
 
... we still use Fortran carriage control in column 1 in all of our
main write statements, about 40,000 of them in our code.
 
Never too soon to start fixing them. Do it one at a time.
 
Gotta do them all at once since the carriage control is controlled by
the OPEN statement.

There is a way to do it: open a second output file, without the Fortran
carriage control setting. Send both outputs to pipes read by a separate
filter process that interleaves the lines back into the real output file.

Now you can go through gradually, changing those output statements one by
one to write to the second file. Once they are all done, you can get rid
of the first file and the filter process, and resume output directly to
the output file.

Date Sujet#  Auteur
3 Apr 24 * Feed control8db
3 Apr 24 +- Re: Feed control1Steve Lionel
3 Apr 24 +- Re: Feed control1Gary Scott
3 Apr 24 +* Re: Feed control4Lynn McGuire
4 Apr 24 i`* Re: Feed control3Lawrence D'Oliveiro
4 Apr 24 i `* Re: Feed control2Lynn McGuire
4 Apr 24 i  `- Re: Feed control1Lawrence D'Oliveiro
4 Apr 24 `- Re: Feed control1Jeff Ryman

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal