H (Hybrid) Language
∟"boolean" Data Type
∟What Is "boolean" Data Type
This section describes what is 'boolean' data type.
"boolean" data type defines how Boolean data objects should be constructed
and what operations are provided for them.
"boolean" data type should support the following features:
- Two "boolean" literals: $true and $false.
- "boolean" constructor function: boolean().
- "boolean" "and" operation function: boolean.and().
- "boolean" "and" operator "&", alias of boolean.and().
- "boolean" "or" operation function: boolean.or().
- "boolean" "or" operator "|", alias of boolean.or().
- "boolean" "not" operation function: boolean.not().
- "boolean" "not" operator "!", alias of boolean.not().
Table of Contents
About This Book
Introduction of H Language
Syntax
Data Types
Variables
Expressions
Statements
►"boolean" Data Type
►What Is "boolean" Data Type
"boolean" Literals
Constructor Function: boolean()
"boolean" "and" Operation
"boolean" "or" Operation
"boolean" "xor" Operation
"boolean" "not" Operation
"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