This page (revision-11) was last changed on 13-Jun-2014 17:05 by Albrecht Striffler

This page was created on 26-Oct-2012 10:15 by Joachim Baumeister

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
11 13-Jun-2014 17:05 2 KB Albrecht Striffler to previous
10 13-Jun-2014 17:04 3 KB Albrecht Striffler to previous | to last
9 13-Jun-2014 17:02 3 KB Albrecht Striffler to previous | to last
8 13-Jun-2014 16:43 3 KB Albrecht Striffler to previous | to last
7 13-Jun-2014 16:40 3 KB Albrecht Striffler to previous | to last
6 13-Jun-2014 16:40 3 KB Albrecht Striffler to previous | to last
5 13-Jun-2014 16:39 3 KB Albrecht Striffler to previous | to last
4 13-Jun-2014 16:28 2 KB Albrecht Striffler to previous | to last
3 07-Nov-2013 10:36 2 KB Albrecht Striffler to previous | to last
2 17-Dec-2012 14:10 2 KB Tim Baier-Loewenstein to previous | to last
1 26-Oct-2012 10:15 2 KB Joachim Baumeister to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 1 changed one line
[{TableOfContents title='Abstraction Rules - TOC'}]
[{TableOfContents title='Contents' numbered='true'}]
At line 3 changed one line
!! 1. Definition
!!! Definition
At line 6 changed 7 lines
!! 2. Syntax
!A. Setting a question's value
{{{IF numerical question > 0
THEN "Average value?" = 20}}}
The above example presents a rule, that assigns the numerical value ''20'' to the (numerical) question ''Average value?'' in the case that "numerical question" is greater than 0.
{{{IF numerical question > 130
THEN choice question = increased}}}
!!!Syntax
!! Basic example
{{{
IF numerical question > 0
THEN other numerical question = 20
}}}
The above example presents a rule, that assigns the numerical value ''20'' to the (numerical) question ''other numerical question'' in the case that "numerical question" is greater than 0.
{{{
IF numerical question > 130
THEN choice question = increased
}}}
At line 17 changed one line
!B. Complex expressions
!! Complex expressions
At line 19 removed 3 lines
{{{IF "Average mileage /100km" > 0 AND KNOWN["Real mileage /100km"]
THEN "Num. Mileage evaluation" = (("Real mileage /100km" / "Average mileage/100km") * 100.0)}}}
In the above example, the value for the numerical question ''Num. Mileage evaluation'' is defined by a complex formula (which calculates the fraction of the ''Real mileage per 100km'' and the ''Average mileage per 100km'' and then multiplies the resulting value by 100. Complex expressions like the above also always have to be defined inbetween brackets, as shown in the example.
At line 28 added 7 lines
{{{
IF "Average mileage /100km" > 0 AND "Real mileage /100km" = known
THEN "Num. Mileage evaluation" = (("Real mileage /100km" / "Average mileage/100km") * 100.0)
}}}
In the above example, the value for the numerical question ''Num. Mileage evaluation'' is defined by a complex formula (which calculates the fraction of the ''Real mileage per 100km'' and the ''Average mileage per 100km'' and then multiplies the resulting value by 100. Complex expressions like the above also always have to be defined in between brackets, as shown in the example.
At line 43 added 5 lines
!More complex?
For everything beyond this, there is an additional plugin available. But be careful, this extension is non-LGPL-licensed for commercial use: [Extended Expressions: Conditions and actions | Doc Expressions]