OTX Reference  
OpenTestSystem.Otx.Core.Terms.LogicXor Class Reference

Logical XOR-operation More...

Inheritance diagram for OpenTestSystem.Otx.Core.Terms.LogicXor:
Inheritance graph

Public Attributes

BooleanTerm[] term
 List of one or more expressions that are used in the operation. More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Terms.Term
MetaData metaData
 Store additional More...
 

Detailed Description

Logical XOR-operation

LogicXor is a term, which returns the result as a logical XOR-operation of the Boolean Expressions. D.h., the term is TRUE, if at least one operand has a different value than the other operand.

Syntax
BooleanVariable = BooleanTerm1 ^^ BooleanTerm2;
Examples
// Local Declarations
Boolean MyValueOfBool1 = true;
Boolean MyValueOfBool2 = false;
Boolean MyValueOfBool3 = true;
Boolean result;
// Flow
result = MyValueOfBool1 ^^ MyValueOfBool2 ^^ false ^^ MyValueOfBool3;

Member Data Documentation

◆ term

BooleanTerm [] OpenTestSystem.Otx.Core.Terms.LogicXor.term

List of one or more expressions that are used in the operation.