Expression Builder
With the Expression Builder simple and complex Expressions be created without writing code, as shown. OTX in an expression is called a term. A term has exactly one return value and is categorized by the type of return value. This can be from different Operators and Functions . there Operators and functions can be nested.
The generator consists of the expression Expression Editor at the top and the Selection at the bottom, see picture.
Expression Builder for creating and editing of OTX-Term
Add an expression
To add an expression, you proceed as follows:
- Selecting the required function in the selection
- With Double on the function of these is in the Expression Editorat the current Insertion taken
- Click on one of the Arguments the function. The whole argument is selected.
- Selection one Variable or a nested function Function
- Kick to Double Takeover in the expression editor
- Manually typing Operators using the keyboard
- Adding more functions and variables, etc.
- Accept the expression with the OK button
Selection
In the selection up to the operators, see below, all usable Functions and Variables groups listed. To transfer a function or variable at the current cursor position in the expression editor needs that row with the mouse to click twice.
Expression Editor
The terms in the expression editor can be freely edited using the keyboard.
Operators
The Operators must be entered in the expression editor with the keyboard. Example of the "+" operator:
StringLength (variable1) + 5
Below is a selection of major operators:
| Operator | Description |
| + |
Addition |
| - | Subtraction |
| * | Multiplication |
| / | Division |
| % | Modulus, computes the remainder after dividing its first operand by its second |
| & | Bitwise AND operation |
| | | Bitwise OR operation |
| ^ | Bitwise XOR |
| && | Logical AND operation |
| || | Logical OR operation |
| == | Same |
| != | Unequal |
| > = | Greater than or equal |
| <= | Less than or equal |
| > | Greater than |
| < | Less than |
Functions
A function has the following basic structure:
"Result" = name ("arg1", "arg2", «...», "argN")
Each function contains arguments "Arg"Which are not changed by the calculation, and each function returns a value «Result» back. A list of all functions here.
See also
Execution environment (runtime OTX)
Structure
Run-time system configuration diagnostics
Status Bar
Ribbon
List of errors (output)
Trace window (Output)
Eigenschaftenfenster
Toolbox (activities and libraries)
Workflow-Designer
Solution Explorer (Project Management)
Home
Installation
User Documentation
Licensing
Logical Operators
Mathematical Operators
Comparative Operators
-
Created18th October 2011
-
Version14
-
Amended31st October 2011
-
Hits1251
