This page (revision-59) was last changed on 13-Jun-2014 18:25 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
59 13-Jun-2014 18:25 7 KB Albrecht Striffler to previous
58 13-Jun-2014 18:25 7 KB Albrecht Striffler to previous | to last
57 13-Jun-2014 18:24 7 KB Albrecht Striffler to previous | to last
56 13-Jun-2014 18:23 7 KB Albrecht Striffler to previous | to last
55 13-Jun-2014 18:22 6 KB Albrecht Striffler to previous | to last
54 13-Jun-2014 18:21 6 KB Albrecht Striffler to previous | to last
53 13-Jun-2014 18:20 6 KB Albrecht Striffler to previous | to last
52 13-Jun-2014 18:20 6 KB Albrecht Striffler to previous | to last
51 13-Jun-2014 18:17 6 KB Albrecht Striffler to previous | to last
50 13-Jun-2014 18:11 5 KB Albrecht Striffler to previous | to last
49 13-Jun-2014 18:11 5 KB Albrecht Striffler to previous | to last
48 13-Jun-2014 18:10 5 KB Albrecht Striffler to previous | to last
47 13-Jun-2014 17:56 4 KB Albrecht Striffler to previous | to last
46 13-Jun-2014 17:48 4 KB Albrecht Striffler to previous | to last
45 13-Jun-2014 17:48 4 KB Albrecht Striffler to previous | to last
44 13-Jun-2014 17:40 4 KB Albrecht Striffler to previous | to last
43 13-Jun-2014 17:39 4 KB Albrecht Striffler to previous | to last
42 13-Jun-2014 17:26 4 KB Albrecht Striffler to previous | to last
41 13-Jun-2014 17:24 4 KB Albrecht Striffler to previous | to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 77 changed 2 lines
!!UNKNOWN Action
!!UNKNOWN Actions
At line 89 changed 2 lines
}}}
This way, if the ''temperature'' is ''Unknown'', we also set the variable/question ''icy roads'' to ''Unknown'', without having the write rules for each of the actions.
}}}This way, if the ''temperature'' is ''Unknown'', we also set the variable/question ''icy roads'' to ''Unknown'', without having the write rules for each of the actions.
At line 90 added 31 lines
Be aware that, if you just use THEN and ELSE __without__ an action for UNKNOWN, the action of ELSE will also fire if ''temperature'' is ''Unknown''.
!!ELSE and UNKNOWN in combination with EXCEPT
It is also possible to use an EXCEPT condition together with ELSE and UNKNOWN. If the EXCEPT condition is true, the ELSE action will fire. The UNKNOWN action only fires if the original IF condition is ''Unknown''. For clarification, check out the following truth tables:
\\
__Rule with THEN and ELSE action only__:
|| IF Condition || EXCEPT Condition || THEN Action || ELSE Action
| %%(color:green)true%% | %%(color:green)true%% |   | %%(color:green)fire%%
| %%(color:red)false%% | %%(color:green)true%% |   | %%(color:green)fire%%
| %%(color:grey)unknown%% | %%(color:green)true%% |   | %%(color:green)fire%%
| %%(color:green)true%% | %%(color:red)false%% | %%(color:green)fire%% |  
| %%(color:red)false%% | %%(color:red)false%% |   | %%(color:green)fire%%
| %%(color:grey)unknown%% | %%(color:red)false%% |   | %%(color:green)fire%%
| %%(color:green)true%% | %%(color:grey)unknown%% | %%(color:green)fire%% |  
| %%(color:red)false%% | %%(color:grey)unknown%% |   | %%(color:green)fire%%
| %%(color:grey)unknown%% | %%(color:grey)unknown%% |   | %%(color:green)fire%%
__Rule with THEN and ELSE and UNKNOWN action__:
|| IF Condition || EXCEPT Condition || THEN Action || ELSE Action || UNKNOWN Action
| %%(color:green)true%% | %%(color:green)true%% |   | %%(color:green)fire%% |  
| %%(color:red)false%% | %%(color:green)true%% |   | %%(color:green)fire%% |  
| %%(color:grey)unknown%% | %%(color:green)true%% |   | %%(color:green)fire%% |  
| %%(color:green)true%% | %%(color:red)false%% | %%(color:green)fire%% |   |  
| %%(color:red)false%% | %%(color:red)false%% |   | %%(color:green)fire%% |  
| %%(color:grey)unknown%% | %%(color:red)false%% |   |   | %%(color:green)fire%%
| %%(color:green)true%% | %%(color:grey)unknown%% | %%(color:green)fire%% |   |  
| %%(color:red)false%% | %%(color:grey)unknown%% |   | %%(color:green)fire%% |  
| %%(color:grey)unknown%% | %%(color:grey)unknown%% |   |   | %%(color:green)fire%%
At line 178 added 7 lines