H (Hybrid) Language - v0.03, by Dr. Herong Yang
All Data Are Created from Classes
This section describes H language data - created from classes.
All data are created from classes.
This is because all data structures are defined by classes and all data are structured data. For example,
# calling "integer" class to create an object with value of 1
one = integer(1);
#( calling "string" class to create an object with a sequence
of characters )#
hello = string("Hello!");
# calling "array" class to create an object with data elements
list = array("Apple", 3, "Orange", 5);
Table of Contents
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"
Inheritance - Object Attachments