Actions

::Boolean data type

::concepts

Boolean::language    Values::false    Value::which    Other::logical    Title::types    Special::empty

In computer science, the Boolean data type is a data type, having two values (usually denoted true and false), intended to represent the truth values of logic and Boolean algebra. It is named after George Boole, who first defined an algebraic system of logic in the mid 19th century. The Boolean data type is primarily associated with conditional statements, which allow different actions and change control flow depending on whether a programmer-specified Boolean condition evaluates to true or false. It is a special case of a more general logical data type; logic does not always have to be Boolean.


Boolean data type sections
Intro   Generalities    ALGOL and the built in boolean type    Fortran    Lisp and Scheme    Pascal, Ada, and Haskell    C, C++, Objective-C, AWK    Perl    Python, Ruby, and JavaScript    SQL   See also  References  

PREVIOUS: IntroNEXT: Generalities
<<>>