ROUTINE_FILEPATH
Syntax | Return Value | Arguments | Keywords | Version History | See Also
The ROUTINE_FILEPATH function returns the full path to a currently-compiled procedure or function (or a list of procedures and functions).
Syntax
Result = ROUTINE_FILEPATH( Routine [, /EITHER] [, /IS_FUNCTION] )
Return Value
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, a null string is returned.
Arguments
Routine
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.
Keywords
EITHER
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.
IS_FUNCTION
Set this keyword to search for functions rather than procedures.
Version History
See Also