Performs an OR test on two boolean values. A true output results if any one of the values is true.
Math,BoolOr,<DestVar>,<Vaue1>,<Value2>
Argument | Description |
---|---|
DestVar | The variable where the result will be stored. |
Value1 | The first value in the equation. |
Value2 | The second value in the equation. |
None.
[Main]
Title=Math-BoolOr Example
Description=Show usage of the Math,BoolOr Command
Author=Homes32
[Variables]
[Process]
Math,BoolOr,%result1%,True,True
Math,BoolOr,%result2%,True,False
Math,BoolOr,%result3%,False,True
Math,BoolOr,%result4%,False,False
// Output Result
Message,"Boolean OR Comparison:#$x[True/True] Return: %result1%#$x[True/False] Return: %result2%#$x[False/True] Return: %result3%#$x[False/False] Return: %result4%"