IRESOLVE
Syntax | Arguments | Keywords | Examples | Version History | See Also
The IRESOLVE procedure resolves all IDL code within the iTools directory, as well as all other IDL code required for the iTools framework. This procedure is useful for constructing SAVE files containing user code that requires the iTools framework.
This routine is written in the IDL language. Its source code can be found in the file iresolve.pro in the lib/itools subdirectory of the IDL distribution.
Syntax
IRESOLVE [, PATH=string]
Arguments
None.
Keywords
PATH
Set this keyword to a string containing the full path to the iTools directory. The default is to use the lib/itools subdirectory within which the IRESOLVE procedure resides.
Examples
Example 1
Suppose you wish to create a SAVE file that contains all of the code necessary to run an iTool you have created with the name mytool. First, start with a clean IDL session and compile all of your own code:
Now compile all of the iTools code:
Finally, create the SAVE file:
Example 2
Since IRESOLVE calls RESOLVE_ALL, it will attempt to include all routines required by any already-compiled routine. This may cause problems if your application calls routines that are already contained in a different SAVE file, but you do not want the routines from the other SAVE file to be included within your own iTools SAVE file. In this case, resolve your routines in two steps:
First, start with a clean IDL session and compile all of the iTools code:
Next, compile your own application:
Then, resolve all of your required routines, skipping any that you do not want included:
Finally, create the SAVE file:
Version History
See Also