H (Hybrid) Language
∟Data Types
∟Commonly Used Data Types Are Built-in Data Types
This section describes H language built-in data types - commonly used data types.
Commonly used data types are built-in data types.
This reduces the effort for developers to create classes defining commonly used data types.
Built-in data types should include:
- integer - Data structure to store integer numbers.
- real - Data structure to store real numbers.
- currency - Data structure to store currency values of fixed fractional digits.
- byte - Data structure to store 8-bit binary data.
- bytes - Data structure to store sequences of bytes.
- character - Data structure to store Unicode characters.
- string - Data structure to store sequences of Unicode characters.
- boolean - Data structure to store Boolean values: true and false.
- date - Data structure to store Gregorian calendar dates.
- time - Data structure to store time instances.
- array - Data structure to store lists of data objects.
- hash - Data structure to store named data objects.
Table of Contents
About This Book
Introduction of H Language
Syntax
►Data Types
All Data Are Structured Objects
All Data Are Created from Classes
Data Literals Are Alias of Object Constructions
►Commonly Used Data Types Are Built-in Data Types
All Data Types Are Extensions of "object"
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