German English

Comparative Operators

Basic logical operators for comparisons

Classification

Library Core
Art Term
Exceptions
Categories Core Terms, Terms, Operations

Description

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

  • ==
    Equality, the expression evaluates trueIf both operands are equal.
  • !=
    Inequality, the expression evaluates trueIf both operands are not equal.
  • >
    Larger, the expression is trueIf the left operand is greater than the right.
  • > =
    Greater than or equal, the expression evaluates trueIf the left operand is greater than or equal to the right.
  • <
    Smaller, the expression is trueIf the left operand is less than the right.
  • <=
    Less than or equal, the expression evaluates trueIf the left operand is less equal to the right.

Expression

BooleanValue = BooleanTerm1 Operator BooleanTerm2

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

Note

Beachte

See also

  • Created
    15. February 2011
  • Version
    8
  • Amended
    15. February 2011
  • Hits
    928