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

Home » Public Forums » archive » Re: Listing called functions in .pro file
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: Listing called functions in .pro file [message #7356] Mon, 11 November 1996 00:00
mallozzi is currently offline  mallozzi
Messages: 60
Registered: August 1994
Member
I have started the habit of adding a DEPENDENCIES clause to the header
of IDL routines. This seems to be an easy way to keep track things, and
easily lets others see what's needed to run your code.

-bob mallozzi
Re: Listing called functions in .pro file [message #7362 is a reply to message #7356] Fri, 08 November 1996 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
David Foster <foster@bial1.ucsd.edu> writes:

> Does someone have or know of a routine that can read an IDL .pro
> file and output a list of called external functions, possibly with
> their associated filenames?
>
> I often share programs with people, but I always forget to include
> necessary routines!

I would put the IDL routine RESOLVE_ALL in the program you wanted
to share. Enter IDL and run the program. All the unresolved routines will
be compiled and listed. Typing:

Help, /Source

will tell you what directory all those programs that got compiled
came from. Gather them up and ship them off.

I should think this would be a *tad* bit easier than writing your
own! But if you want something more elegant, start with the
RESOLVE_ALL code. It is written in IDL.

You wouldn't have any programs to do image reconstruction
you wanted to share would you David?

David

*************************************************
* David Fanning, Ph.D.
* 2642 Bradbury Court, Fort Collins, CO 80521
* Phone: 970-221-0438 Fax: 970-221-4762
* E-Mail: davidf@dfanning.com
*
* Sometimes I go about pitying myself, and all along my
* soul is being blown by great winds across the sky.
* -- Ojibway saying
************************************************
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: self programming IDL needed?
Next Topic: Re: Multiple Postscript Shaded Surface Plots

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

Current Time: Wed Oct 08 15:21:45 PDT 2025

Total time taken to generate the page: 0.00427 seconds