The ROUTINE_INFO function provides information about currently-compiled procedures and functions. It returns a string array consisting of the names of defined procedures or functions, or of parameters or variables used by a single procedure or function.
Set this keyword to return a string array containing currently-compiled functions. By default, ROUTINE_INFO returns a list of compiled procedures. If the SYSTEM keyword is also set, ROUTINE_INFO returns a list of all IDL built-in internal functions.
Set this keyword to return an anonymous structure with the following fields:
A string array containing the names of the keyword parameters used in Routine .
You must supply the Routine argument when using this keyword. Note that specifying the SYSTEM keyword along with this keyword will generate an error. If Routine does not take any arguments, the ARGS field is not included in the anonymous structure. Similarly, if Routine does not take any keywords, the KW_ARGS field is not included.
Set this keyword to return an array of anonymous structures with the following fields:
A string containing the full path specification of the file that contains the definition of the procedure or function.
If Routine is specified, information for that one routine is returned. If Routine is not specified, information for all compiled routines is returned. If a routine is unresolved or its path information is unavailable for any reason (if the routine has been SAVEd and then RESTOREd, for example), the PATH field will contain a null string.
Note that specifying the SYSTEM keyword along with this keyword will generate an error.
Set this keyword to return a string array listing all IDL built-in internal procedures. Built-in internal procedures are part of the IDL executable, and are not written in the IDL language. If the FUNCTIONS keyword is also set, ROUTINE_INFO returns a list of all IDL built-in internal functions.
Set this keyword to return a string array listing procedures that are referenced in any currently-compiled procedure or function, but which are themselves not yet compiled. If the FUNCTIONS keyword is also set, ROUTINE_INFO returns a list of functions that are referenced but not yet compiled.
Note that specifying the SYSTEM keyword along with this keyword will generate an error.