Skip to main content
Version: 4.2.5

Building Scripts

The Script Editor provides you with six different options for building Scripts. You find the options under Build in the Script menu, or in the drop-down list in the Script toolbar.

note

Before compilation, the building function checks the syntax of all files to be built. If any syntax errors are detected, an error message is displayed. The error message contains references to the Script(s) and the line(s) where the error(s) occurred.

Building Options

All openedBuilds all open Scripts, but not Scripts related to them. If, there are any relations (inheritance) between open Scripts, these Scripts will be built in the correct order.
All opened with dependencies...Builds all open Scripts, and all Scripts with dependencies to them. This includes all Scripts that are based on (derived from) the current Script, and all Scripts from which it inherits. The option opens a Script dialog, where you can make changes to the selection.
All scripts...Builds all Scripts in the Developer. The option opens a Script dialog, where you can make changes to the selection.
Current and derivedBuilds the currently active Script and all Scripts that that are based on it.
Current scriptDefault option. Builds the currently active Script. To be active the Script must be open and selected.
Current with dependencies...Builds the currently active Script, and all Scripts with a dependency to it. This includes all Scripts that are based on (derived from) the current Script, and all Scripts from which it inherits. The option opens a Script dialog, where you can make changes to the selection.

Dialog: Select scripts to build

The Build options All scripts..., Current with dependencies... and All opened with dependencies... open a Script dialog, displaying the Scripts selected to be built. In the dialog box, you can make changes by deselecting Scripts that you wish to remove from the build selection.

To deselect a Script in the building dialog

  1. In the building dialog, select the Script (or a whole tree of Scripts) that you do not want to be part of the selection.
  2. Right-click and select the Mark option (or Mark tree).
    • The Script is deselected, and the X in front of the Script disappears. To re-select the Script, you just repeat the procedure. 

When you have completed the changes, or, if you wish to keep the original selection as it is, click Start Build to compile the selected Scripts.