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

Home » Public Forums » archive » Re: Figuring out which functions and procedures get called
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Figuring out which functions and procedures get called [message #33661 is a reply to message #33658] Fri, 10 January 2003 12:46 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
K Banerjee (kbanerjee@ucwphilly.rr.com) writes:

> I need to figure out which functions and procedures get called
> when using a particular IDL procedure. Is there some straight
> forward way to do this in IDL?

Why do I have a bad feeling about answering this question? :-(

OK, two ideas come immediately to mind.

1. Read the darn thing. Most well-written IDL procedures
are less than 100,000 lines long. :-)

2. Start IDL and compile the procedure in question. Then
type "Resolve_All". Now you have a list of all the
*user* IDL routines the procedure calls. Add to that
any of the system routines it calls (may have to read
it after all), and you have the list.

If you wanted to find out which of several identically named
procedures were called by this routine, you could upgrade
to IDL 5.4 and use File_Which. Or, if you just wanted to find
out which user routines were used in a program, you could type
Help, /Source.

Maybe that gives you some ideas.

Cheers,

David

P.S. Let's just say I'm afraid to ask *why* you need this
information. :-)

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: IDL for IRIX
Next Topic: Re: WHERE and pointers

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

Current Time: Sat Oct 11 08:07:24 PDT 2025

Total time taken to generate the page: 0.80296 seconds