Evaluation Order - Universal Devices ISY-994i User Manual

Home automation
Hide thumbs Also See for ISY-994i:
Table of Contents

Advertisement

If
(
And Control 'Switch 1' is switched On
)
Or (
And Control 'Switch 2' is switched On
)
Then
Set 'Light 3' On
Else
- No Actions - (To add one, press 'Action')
Note that no operator (And or Or) is displayed for the first condition in the If clause. This is
because a single-condition clause has no conjunction, while in a multi-condition clause, the
operation performed on the first condition is wholly dependent upon and determined by
the operator of the second condition. The operator of the first condition, though ignored, is
still maintained in the drop-down setting box in the lower portion of the window, in case
the condition line should be moved down and no longer be the first condition.

9.5.3 Evaluation Order

Within the If clause of a program, expressions are evaluated from left-to-right, meaning the
individual expressions are evaluated from top to bottom as viewed on the screen.
Evaluation does not stop as soon as the outcome is known; rather all expressions within
the clause are evaluated each time the If is invoked.
Status 'Light 1' is On
Status 'Light 2' is On
Page | 182

Advertisement

Table of Contents
loading

Related Products for Universal Devices ISY-994i

Table of Contents