Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.fortran    |    Putting John Backus on a giant pedestal    |    5,127 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 4,663 of 5,127    |
|    Lawrence D'Oliveiro to Lynn McGuire    |
|    Re: Feed control    |
|    04 Apr 24 20:33:06    |
      From: ldo@nz.invalid              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.              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca