TRUE and FALSE
The two true-or-false values.
Syntax
TRUE
FALSE
Result
True or false.
Examples
In the example drawing:
| Expression | Gives |
|---|---|
TRUE |
TRUE |
FALSE |
FALSE |
1<2 |
TRUE |
Notes
Comparisons give TRUE or FALSE; ?: and SWITCH choose by them, and &&, ||, ^ and ! combine them.