Re: listing all subroutines and paths used in a program. [message #74594 is a reply to message #74513] |
Mon, 24 January 2011 14:10   |
George Millward
Messages: 29 Registered: February 2000
|
Junior Member |
|
|
On Jan 24, 2:36 pm, Andrew Cool <andrew.c...@dsto.defence.gov.au>
wrote:
> On Jan 25, 7:06 am, Paulo Penteado <pp.pente...@gmail.com> wrote:
>
>
>
>> On Jan 24, 6:51 pm, George Millward <george.millw...@noaa.gov> wrote:
>
>>>> result = routine_info(my_app,/source)
>
>>> % ROUTINE_INFO: String expression required in this context: MY_APP.
>>> % Execution halted at: $MAIN$
>
>> What is the contents of the variable my_app? Apparently, not a string,
>> as routine_info expects.
>
>> Anyway, it seems that you are looking for all currently compiled
>> routines (after a call to your routine, or to resolve_all), which is
>> done without providing a routine name to routine_info. That is,
>> something like
>
>> result=routine_info(/source)
>
>> or
>
>> result=routine_info(/source,/functions)
>
> What's wrong with Help,/source ?
>
> It gives the full path name for all compiled procedures and functions.
>
> Andrewwww.skippysky.com.au
Hmm,
help,/source works great.
Thanks
|
|
|