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 #85324 is a reply to message #85318] Wed, 24 July 2013 11:40 Go to previous message
Mats Löfdahl is currently offline  Mats Löfdahl
Messages: 263
Registered: January 2012
Senior Member
Den onsdagen den 24:e juli 2013 kl. 16:37:42 UTC+2 skrev Heinz Stege:
> 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

That's exactly what I need. Thank you!
[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 13:40:18 PDT 2025

Total time taken to generate the page: 0.80111 seconds