This utility is used to compile specified global functions in an application dictionary. If your application uses global functions, you may need to use this utility under the following circumstances:
To begin compiling global functions, select an editable dictionary, then choose Compile Global Functions from the Scripts menu to display the Compile Global Functions window, shown in the following illustration.
Select the series that includes the global functions being compiled. The global functions 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 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 functions 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 functions 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 functions from several series at one time. To compile all global functions 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 functions. The Report File Name dialog box will appear. Enter the name and location for the Compile Global Functions Status Report file, then click OK to continue the compiling process, or click Cancel to return to the Compile Global Functions window.
Once compiling is complete, the status report will be printed to a text file. This report lists each global function along with a message that indicates whether it was compiled successfully. If the global function 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.