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

Home » Public Forums » archive » listing all subroutines and paths used in a program.
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: listing all subroutines and paths used in a program. [message #74603 is a reply to message #74513] Mon, 24 January 2011 12:51 Go to previous messageGo to previous message
George Millward is currently offline  George Millward
Messages: 29
Registered: February 2000
Junior Member
On Jan 24, 11:58 am, David Fanning <n...@dfanning.com> wrote:
> Paulo Penteado writes:
>> What about routine_info(/source)?
>
> Now there is a routine we should all be taking
> more advantage of!
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.idlcoyote.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

routine_info should be what I need - but it's not working right.
If I do this:

> result = routine_info(my_app)
> print, result

I get all the called routines. Fine, but no paths - just the routine
names.

But if I do this:

> result = routine_info(my_app,/source)

% ROUTINE_INFO: String expression required in this context: MY_APP.
% Execution halted at: $MAIN$

Any idea what I'm doing wrong ?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: idl_help_path problem
Next Topic: Re: Need help with map projection conversion in ENVI

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

Current Time: Wed Dec 03 21:37:35 PST 2025

Total time taken to generate the page: 0.88366 seconds