Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
Re: does idl program exist to format fortran programs intelligently?
plusfort from polyhedron will do that but it is not free... H. "Mark" <astroboy2k@gmail.com> wrote in message news:55e703d3-0e26-421d-8156-db1f927aab57@2g2000hsn.googlegr oups.com... > Hello all. > > I'm trying to debug an 8000 line fortran program with no documentation > that's worth anything. I'm coming up with problems like, does the "end > if" at line 5672 correspond to the "if" statement at line 223 or 476. > > Does anyone know of any idl code that prints out fortran code so that > the indentations correspond to nested if and do (etc) loops so that > human can actually make some sense of it. > > Thanks, > > Mark
On Jun 14, 2:16 am, Mark <astrobo...@gmail.com> wrote: > Hello all. > > I'm trying to debug an 8000 line fortran program with no documentation > that's worth anything. I'm coming up with problems like, does the "end > if" at line 5672 correspond to the "if" statement at line 223 or 476. > > Does anyone know of any idl code that prints out fortran code so that > the indentations correspond to nested if and do (etc) loops so that > human can actually make some sense of it. > > Thanks, > > Mark Why must IDL code? How about Understand for Fortran?
On Jun 13, 1:16 pm, Mark <astrobo...@gmail.com> wrote: > Hello all. > > I'm trying to debug an 8000 line fortran program with no documentation > that's worth anything. I'm coming up with problems like, does the "end > if" at line 5672 correspond to the "if" statement at line 223 or 476. > > Does anyone know of any idl code that prints out fortran code so that > the indentations correspond to nested if and do (etc) loops so that > human can actually make some sense of it. > > Thanks, > > Mark Try ftnchek: http://www.dsm.fordham.edu/~ftnchek/ Cheers, Liam. Practical IDL Programming http://www.gumley.com/
On Jun 14, 3:16 am, Mark <astrobo...@gmail.com> wrote: > Hello all. > > I'm trying to debug an 8000 line fortran program with no documentation > that's worth anything. I'm coming up with problems like, does the "end > if" at line 5672 correspond to the "if" statement at line 223 or 476. > > Does anyone know of any idl code that prints out fortran code so that > the indentations correspond to nested if and do (etc) loops so that > human can actually make some sense of it. > > Thanks, > > Mark Mark, Have a look at a post by Mitchell Grunes in 1995 about a program he wrote called Diagrami. A version exists for Fortran too. See :- http://groups.google.com.au/group/comp.lang.idl-pvwave/brows e_thread/thread/e92df1b67f316205/ba5760d9b5b25134?hl=en& lnk=gst&q=diagrami#ba5760d9b5b25134 Mitchell just *loves* Fortran ;-) Cheers, Andrew