German English
Test the ODF!
You can complete the ODF in functionality for 30 days.

StarODFEval

We ask you this, first toRegisterand then a Activation To request.

More information
VideoIcon Video: Introduction to the Open Diagnostic Framework
PdfIcon Slides to introduce the Open Diagnostic Framework

Expression Builder

(0 votes)

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.

Ausdrucksgenerator zur Erzeugung und Bearbeitung von OTX-TermsExpression Builder for creating and editing of OTX-Term

Add an expression

To add an expression, you proceed as follows:

  1. Selecting the required function in the selection
  2. With Double on the function of these is in the Expression Editorat the current Insertion taken
  3. Click on one of the Arguments the function. The whole argument is selected.
  4. Selection one Variable or a nested function Function
  5. Kick to Double Takeover in the expression editor
  6. Manually typing Operators using the keyboard
  7. Adding more functions and variables, etc.
  8. 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

  • Created
    18th October 2011
  • Version
    14
  • Amended
    31st October 2011
  • Hits
    1251