Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 979 Bytes

BoolOr.md

File metadata and controls

47 lines (32 loc) · 979 Bytes

Math,BoolOr

Performs an OR test on two boolean values. A true output results if any one of the values is true.

Syntax

Math,BoolOr,<DestVar>,<Vaue1>,<Value2>

Arguments

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.

Remarks

None.

Related

BoolAnd, BoolNot, BoolXor

Examples

Example 1

[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%"