introspection/
mg_called_routines.pro
includes main-level programtop source mg_called_routines
result = mg_called_routines(file [, count=long] [, bridge=object])
Finds the routines (normal functions and procedures) needed for the code inside a file i.e. the routines it calls, the routines those routines call, etc.
Return value
string array of routine names
Parameters
- file in required type=string
file basename without the
.proextension to resolve for called routines
Keywords
- count out optional type=long
number of called routines found
- bridge in out optional type=object
IDL_IDLBridge object used to resolve routines; if a bridge is not passed in, one is created; if a named variable is passed, the bridge object will be passed back to the caller, otherwise the bridge is destroyed
Other attributes
- Bugs:
Because
RESOLVE_ALLis called to compile all the routines called from within the given routine,RESOLVE_ALLis always present in the resolved routines. It and its helperUNIQare removed from the output (but may actually be present).
File attributes
| Modification date: | Wed Sep 14 11:28:34 2011 |
| Lines: | 106 |
| Docformat: | rst rst |
Contact me if you have enhancement requests or bug fixes.
![[attach.png]](../idldoc-resources/attach.png)