Statements in the propositional logic can only be

To show the truth content of such a connection of several statements, one can use a truth table,

which generates all possible combinations of true / false statements and evaluates the corresponding truth content of the logical expression.

Logical connections are implemented with operators of the syntax of C, Java and JavaScript.

In the table logical

The logical variables used in the expressions can be named as desired.

Supported operators are (operator priority decreasing in this order):

! | "not" | (negation) |

== | "exactly, when" | (equivalence) |

&& | "and" | (conjunction) |

|| | "or" | (disjunction) |

Note: The operator priority used here corresponds to the above mentioned programming languages.

In the propositional logic

Deviating from the syntax of the programming languages mentioned above, the bitwise AND and OR operators (|,&) can also be used.

If more than one expression shall be displayed in one table, separating semicolons have to be used.

Example of a logical expression with 4 variables: !a || b && !(c && !d)

more JavaScript applications