The Console panel provides you with a command line that allows you to insert actions into the executing engine, or check the value of your variables. An example is shown in Figure 16.20. All the operations that can be used in the action part of a rule (right-hand side (RHS)) are allowed as well as any expression.
To open the Console panel:
-
Click Console on the View>Debugger Panels menu or click the Console
button on the Debugger toolbar.
-
Figure 16.20 Console Panel
If the line ends with a semicolon, it is considered an action statement. If the line does not end with a semicolon, it is considered as an expression. The expression can be evaluated and its value will be returned. A statement does not have a value. Moreover, the statements or the expression may refer to the bindings of the rule currently available.
Note |
The variables available depend on the position of the cursor. |
See Also
Executing a Ruleset in the Rule Builder
|