> > <[log in to unmask]> wrote:
> >
> > > IMHO the simplest and most important of the conversions are:
> > > 1. conversion to free form source input.
> > > 2. wrapping the main program around the subroutines and functions,
> > > (with the help of the CONTAINs statement).
> > > This approach requires a minimum of effort, and is unlikely to introduce
> > > new bugs (but note that any conversion to the modern form
> > > is likely to find pre-existing bugs)
> > > The above checks subroutine interfaces and may pick up some
> > > typos in the original code.
> >
> > Hmmm, let me see. My program consists of 3683 subroutines and functions,
> > in addition to the main program, occupying 330623 lines.
>
> Do you really think that an original F77 program as large as that
> would have been organized as a single file?
No, but Robin's proposal #2 seems to require combining everything into
one file. I don't understand how to "wrap the main programs around the
subroutines and functions" without collecting everything into one file.
One can't use include because of the constraint that requires "end function"
or "end subroutine" for internal subprograms.
--
Van Snyder | What fraction of Americans believe
[log in to unmask] | Wrestling is real and NASA is fake?
Any alleged opinions are my own and have not been approved or disapproved
by JPL, CalTech, NASA, Sean O'Keefe, George Bush, the Pope, or anybody else.
|