|Application Programming: Creating IDL Projects|
The build order of a project determines the order in which the files will be compiled. In some cases, you might not be able to run all the files in your project because of dependencies on the order in which they are compiled. For example, if the file
Pro main x=1 y=AddTen(x) Print, x End
Function AddTen, x x=x+10 End
IDL can't tell if the statement
y=AddTen(x) is referring to a variable named
AddTen or a function named
AddTen is compiled before
main, you will get a "Variable undefined" error message.
To select the build order for the files in your project, complete the following steps:
If the Compile File option is deselected, the file will not show in the Build Order window. For more information on file properties, see Setting the Properties of a File.
IDL Online Help (March 06, 2007)