H (Hybrid) Language
∟"boolean" Data Type
This chapter provides notes on 'boolean' Data Type in H language.
What Is "boolean" Data Type
"boolean" Literals
Constructor Function: boolean()
"boolean" "and" Operation
"boolean" "or" Operation
"boolean" "xor" Operation
"boolean" "not" Operation
Takeaways:
- "boolean" data type defines how Boolean data objects should be constructed
and what operations are provided for them.
- There are only two literals for "boolean" data type: $true and $false.
- New "boolean" data object can be created with the constructor function, boolean().
- The "boolean" "and" operation is provided through the boolean.and() function
- The "boolean" "or" operation is provided through the boolean.or() function
- The "boolean" "xor" operation is provided through the boolean.xor() function
- The "boolean" "not" operation is provided through the boolean.not() function
Table of Contents
About This Book
Introduction of H Language
Syntax
Data Types
Variables
Expressions
Statements
►"boolean" Data Type
"integer" Data Type
"string" Data Type
"real" Data Type
"array" Data Type
Source Code Packages
Classes and Objects
Object Oriented Programming
Inheritance - Object Attachments
Encapsulation - Private Members
References
Full Version in PDF/ePUB