This utility is used to compile specified global procedures in an application dictionary. If your application uses global procedures, you may need to use this utility under the following circumstances:
To begin compiling global procedures, select an editable dictionary, then choose Compile Global Procedures from the Scripts menu to display the Compile Global Procedures window.
Select the series that includes the global procedures being compiled. The global procedures in that series will appear in the Scripts list.
You can set a default series prior to beginning the compiling process. Select a series from the Series list located on the toolbar. Once specified, the selected series will appear as the default whenever a series can be selected in a window.
The following options control how the scripts will be compiled.
Compiler Errors Only Mark this option to include only compiler error messages in the status report that is printed after the global procedures are compiled. Otherwise, all status messages will be saved to the report.
Compile Debug Mark this option to include debugging information in scripts, and to compile the debug and assert statements in your code. If you don’t mark this option, you won’t be able to use the Script Debugger, and the debug and assert statements won’t be executed. We recommend unmarking this option in the final version of your application to ensure optimal script performance.
Select the global procedures to compile by selecting each one and clicking Insert to add it to the list of selected scripts. Double-clicking a script performs the same function. You can select and compile procedures from several series at one time. To compile all global procedures in the selected series, click Insert All. Use the Remove and Remove All buttons to remove scripts from the Selected Scripts list.
Click the Compile button to compile the selected global procedures. The Report File Name dialog box will appear. Enter the name and location for the Compile Global Procedures Status Report file, then click OK to continue the compiling process, or click Cancel to return to the Compile Global Procedures window.
Once compiling is complete, the status report will be printed to a text file. This report lists each global procedure along with a message that indicates whether it was compiled successfully. If the global procedure wasn’t compiled successfully, the message indicates the compiler error that occurred. If you mark Compiler Errors Only, only information about scripts that couldn’t be compiled will appear in the report.