Implies

From The Oxygene Language Wiki

Jump to:navigation, search

This is a Language topic
Feel free to add your notes to this topic below.



Logical Implication (implies) is a simple binary logic operator that takes a boolean on both sides.

a implies b translates to iif(a, b, true), except that it is boolean short-circuited, so when a is false, the result is true (and b will never be evaluated). Equivalent to not a or b.

Syntax for this operator is:

var
  c: Boolean := a implies b;


Oxygene-48.png

Area: Oxygene Language
Compiler version: Oxygene 5

Language GlossaryKeywordsTypesFAQHow To

Navigation
Areas
More
Toolbox