The ROUTINE_FILEPATH function returns the full path to a currently-compiled procedure or function (or a list of procedures and functions).
Result = ROUTINE_FILEPATH( Routine [, /EITHER] [, /IS_FUNCTION] )
Returns a scalar string or string array containing the full path for each element of the Routine argument. If the routine is not in the list of currently-compiled routines, an empty string is returned.
Routine is a scalar string or string array containing routine names for which the file path is desired. If Routine contains functions rather than procedures, you must set the IS_FUNCTION or EITHER keyword.
If set, this keyword indicates that the caller does not know whether the supplied routine names are functions or procedures, and will accept paths for either. This keyword overrides the IS_FUNCTION keyword.
Set this keyword to search for functions rather than procedures.
7.0 |
Introduced |
RESOLVE_ROUTINE , ROUTINE_INFO