Documentation

Boolean Literals

Boolean literals are boolean values written directly in the program text.

Values

The only two boolean values are yes and no.

Note

Many programming languages use the values true and false, but this is based on a misunderstanding of the concept of truth. Truth is the recognition of reality. It is a classifiation used for knowledge. Knowledge is classified as true if it recognizes the facts of reality, as false if it contradicts the facts of reality and as arbitrary if it is not about reality at all. This is very different from boolean values in boolean expressions.

Objective-C should be noted for using the more appropriate values yes and no.

Contact Information

We would be more than happy to help you. Our opening hours are 9–15 (CET).

[email protected]

📞 (+47) 93 68 22 77

Nils Bays vei 50, 0876 Oslo, Norway

Copyright © 2018-24 progsbase.com by Inductive AS.