The RESOLVE_ALL procedure iteratively resolves (by compiling) any uncompiled user-written or library procedures or functions that are called in any already-compiled procedure or function. The process ends when there are no unresolved routines left to compile. If an unresolved procedure or function is not in the IDL search path, this routine exits with an error, and no additional routines are compiled.
RESOLVE_ALL is useful when preparing SAVE/RESTORE files containing all the IDL routines required for an application.
NOTE: RESOLVE_ALL does not resolve procedures or functions that are called via CALL_PROCEDURE, CALL_FUNCTION, or EXECUTE.
Similarly, RESOLVE_ALL does not resolve widget event handler procedures based on a call to the widget routine that uses the event handler. In general, it is best to include the event handling routine in the same program file as the widget creation routine--building widget programs in this way ensures that RESOLVE_ALL will "catch" the event handler for a widget application.
NOTE:
RESOLVE_ALL is of special interest when constructing an IDL SAVE file containing the compiled code for a package of routines. If you are constructing such a
.sav
file, that contains calls to built-in IDL system functions that are not present under all operating systems (e.g., IOCTL, TRNLOG), you must make sure to use FORWARD_FUNCTION to tell IDL that these names are functions. Otherwise, IDL may interpret them as arrays and generate unintended results.
This routine is written in the IDL language. Its source code can be found in the file
resolve_all.pro
in the
lib
subdirectory of the IDL distribution.
RESOLVE_ROUTINE , ROUTINE_INFO , .COMPILE in .