|Application Programming: Distributing Virtual Machine Applications|
An IDL application created in IDL 6.0 or later that does not use the EXECUTE function can be saved in one or more SAVE files that will run in the IDL Virtual Machine. If an IDL application is to be run in the IDL Virtual Machine, it is not necessary to include an IDL distribution with the SAVE file because IDL Virtual Machine is installed on the user's machine. The SAVE file need only include your own code, creating a smaller file that is easier to distribute.
To create SAVE files to run in the IDL Virtual Machine, do one of the following:
.profiles with the SAVE procedure. See Creating SAVE Files of Program Files for details, and refer to SAVE.
Creating SAVE files of object-oriented programs requires the use of RESOLVE_ALL with the CLASS keyword.
There are several ways to include the necessary routines in your application:
.profiles to a project, and build the project.
.savfile or restore it explicitly using RESTORE.
.savfile uses the same name as the procedure or function it contains, this allows you to call each routine without having to explicitly restore its SAVE file because IDL will search the current directory and the defined !PATH for the
.savfile and restore it automatically when it encounters the first call to the routine.
The IDL Virtual Machine will execute IDL routines stored in SAVE files created with IDL version 6.0 and later. Any SAVE
IDL Online Help (March 06, 2007)