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

Logical OR-operation More...

Inheritance diagram for OpenTestSystem.Otx.Core.Terms.LogicOr:
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 OR-operation

LogicOr is a term, which returns the result as a logical OR-operation of the Boolean Expressions. D.h., the term is TRUE, if at least one operand has the value TRUE.

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.LogicOr.term

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