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

Home » Public Forums » archive » keep track of all libraries used
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: keep track of all libraries used [message #93362 is a reply to message #93358] Fri, 24 June 2016 01:16 Go to previous messageGo to previous message
andrewcool777 is currently offline  andrewcool777
Messages: 27
Registered: November 2012
Junior Member
On Thursday, 23 June 2016 13:13:24 UTC+9:30, hoiti...@gmail.com wrote:
> I'm cleaning up my code and would like to keep track of all the functions and procedures (libraries and scripts) called under the main routine. Is there an easy way to know that?
>
> Essentially what I want to know is what libraries I need to wrap up in the final package and what libraries aren't used and can be thrown away, before I zip everything and send the zip file to my colleagues.
>
> I tried routine_info(/source) but it doesn't give me every routine I used, only those closer to the upper levels.
>
> Thanks!

and to expand on Wayne's response,

Resolve_all

help,/source,out=routine_list
help,routine_list
ROUTINE_LIST STRING Array[nnn]

So you end up with a string array giving the full filename of each source file.
Now you just need a few lines of code to parse that array and copy those files into some distribution folder for zipping.

Andrew
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Laggy plotting
Next Topic: h5_parse() in the profiler

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

Current Time: Wed Oct 08 13:36:29 PDT 2025

Total time taken to generate the page: 0.00360 seconds