The Java script pane is the editing area for writing your code. You can insert constants, functions, input fields, and output fields from the Java script functions pane on the left by double-clicking the node you want to insert or by using drag-and-drop to place the object onto the Java Script panel.
Field | Description |
---|---|
Position | Display the line number and position of the cursor. |
Compatibility Mode |
Select the Compatibility mode option to use the 2.5 version of the JavaScript engine. When this option is not selected (default), the step uses version 3 of the JavaScript engine. In the 2.5 engine, value objects are directly modifiable and their type can be changed. For example, you can convert a date variable into a string. This is not supported in the 3.0 engine, so the JavaScript should run faster. For more details on the different versions, see Migrating JavaScript from 2.5.x to 3.0.0. PDIPDI uses the Rhino engine from Mozilla. |
Optimization level |
Select the level of JavaScript optimization. The values are: |