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

Home » Public Forums » archive » 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
does idl program exist to format fortran programs intelligently? [message #60804] Fri, 13 June 2008 11:16 Go to next message
astroboy2k is currently offline  astroboy2k
Messages: 34
Registered: July 2007
Member
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
Re: does idl program exist to format fortran programs intelligently? [message #60913 is a reply to message #60804] Mon, 16 June 2008 01:35 Go to previous message
Nigel Wade is currently offline  Nigel Wade
Messages: 286
Registered: March 1998
Senior Member
Mark 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

Are you running IDL 7 with Eclipse? I think Eclipse has a FORTRAN plugin
(photran). Maybe it can reformat the code, and provide other assistance.

P.S. if you are not running IDL 7 you can install Eclipse anyway...

--
Nigel Wade
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: AVI file with RLE compression
Next Topic: Image proceesing in IDL

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

Current Time: Wed Oct 08 19:46:55 PDT 2025

Total time taken to generate the page: 0.00506 seconds