====== Condition ====== With this element smaller if-clauses can be implemented. It can be verified if the I/O fulfills certain conditions. ===== Usage ===== [[https://www.lua.org/manual/5.1/manual.html#2.5.2 | Relational operators from Lua]] are used to construct valid condition statements. In order to verify a specification of an I/O it is possible to read the I/O header value by the [[eyes:logics:script|]] and then make use o a valid Boolean expression. The condition will not modify the I/O. ===== Example ==== {{ :eyes:logics:condition.png?nolink |}} ===== Parameters and I/O ===== |< 100% 30% >| ^ Input ^ Description ^ | FirstInput | IO to be passed | |< 100% 30% >| ^ Output ^ Description ^ | FirstOutput | IO passed, if the condition is true | | SecondOutput | IO passed, if the condition is false | ===== Concept ===== [[https://www.lua.org/pil/3.2.html|Relational Operators in Lua]]