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

Home » Public Forums » archive » List of called subprograms
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: List of called subprograms [message #85318 is a reply to message #85307] Wed, 24 July 2013 07:37 Go to previous messageGo to previous message
Heinz Stege is currently offline  Heinz Stege
Messages: 189
Registered: January 2003
Senior Member
Hi Mats,

I'm not sure, if I get it right...

After compiling the main program(s) within a fresh IDL session you can
find the names of all subprograms with
names=routine_info(/unresolved,functions=i) ; with i=0,1
Then compile all subprograms with
resolve_routine,names,is_function=i
and continue with the first step to find all the subsubprograms and so
on.

This gives you the names of all programs. The pathes can be found with
path=routine_info(names[j],/source) ; with j=0,1,...
or, if all subprograms reside within a file with one of the names of
all the subprograms with the file_which() routine.

HTH, Heinz
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: IDL Datapoint blog
Next Topic: How to create a stable "package" in IDL?

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

Current Time: Fri Oct 10 03:43:29 PDT 2025

Total time taken to generate the page: 0.87803 seconds