comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: does idl program exist to format fortran programs intelligently?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: does idl program exist to format fortran programs intelligently? [message #60779] Sat, 14 June 2008 05:59
Andrew Cool is currently offline  Andrew Cool
Messages: 219
Registered: January 1996
Senior Member
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
Re: does idl program exist to format fortran programs intelligently? [message #60789 is a reply to message #60779] Fri, 13 June 2008 19:59 Go to previous message
liamgumley is currently offline  liamgumley
Messages: 74
Registered: June 2005
Member
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/
Re: does idl program exist to format fortran programs intelligently? [message #60792 is a reply to message #60789] Fri, 13 June 2008 16:53 Go to previous message
enod is currently offline  enod
Messages: 41
Registered: November 2004
Member
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?
Re: does idl program exist to format fortran programs intelligently? [message #60800 is a reply to message #60792] Fri, 13 June 2008 12:09 Go to previous message
Haje Korth is currently offline  Haje Korth
Messages: 651
Registered: May 1997
Senior Member
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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: EARN DOLLARS 100% HOME BASED BUSINESS
Next Topic: Virtual machine question

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:34:50 PDT 2025

Total time taken to generate the page: 0.00692 seconds