Changes

Jump to: navigation, search

Boolean Operators

81 bytes added, 17:36, 20 October 2017
no edit summary
* The '''AND''' operator takes two [[operand]]s and evaluates to ''true'' if '''both''' of its operands are true.
* Also written as "&&", between the two operands.
Example: [True Statement] AND [False Statement] ...evaluates to... '''FALSE'''
Example: [True Statement] AND [True Statement] ...evaluates to... '''TRUE'''
==OR==
* The '''OR''' operator takes two [[operandsoperand]] s and evaluates to ''true'' if '''either''' of the operands are true. * Also written as "||", between the two operands.
Example: [True Statement] OR [True Statement] ...evaluates to... '''TRUE'''
Example: [True Statement] OR [False Statement] ...evaluates to... '''TRUE'''
==NOT==
* Reverses the "truthiness" of its [[operand]].
* Also written as "!", preceding its operand.
Example: NOT [True Statement] ...evaluates to... '''FALSE'''
==See Also==
* [[Advanced Logic]]
* [[Advanced Search]]
[[Category:GlossaryVariables]]
Smartstaff, administrator
686
edits

Navigation menu