German English

Logical Operators

Basic logical operations of Boolean expressions

Classification

Library Core
Art Term
Categories Core Terms, Terms, Operations

Description

Logical operators are in accordance with the C#-Nota­tion used for logical operations in the formulation of conditions etc.. The following operators can be used:

  • &&
    Logisches AND (Conjunction)
  • ||
    Logisches OR (Disjunction)
  • ^
    Logisches XOR (Exklusive Disjunktion)
  • !
    Logische NOT (negation)

Expression

BooleanValue = BooleanTerm1 Operator BooleanTerm2
BooleanValue = !BooleanTerm1

Properties

Below are all the properties / arguments of the term in order listed.
NameTypeArtMInRDescription
ValueBooleanReturnTheReturn value of the logical operation
BooleanTerm1BooleanTermInLinker Operand
BooleanTerm2BooleanTermInRight Operand
Legend: No Type = Indeterminate type, see description; M = Property is required (mandatory); In = Verkettbares Element; R = Datenrichtung I = In, O = Out, I/O = In/Out

Examples

  • MyValueOfBool1 && MyValueOfBool2
  • MyValueOfBool1 || MyValueOfBool2
  • MyValueOfBool1 ^ MyValueOfBool2
  • !MyValueOfBool1

See also

  • Created
    15. February 2011
  • Version
    19
  • Amended
    08. Dezember 2011
  • Hits
    870