H (Hybrid) Language - v0.03, by Dr. Herong Yang
What Is Class
This section describes what is Class.
A class is a data type, which defines a group of data objects. All data objects in the group must have the same list of properties. Functional methods are also provided and applicable to all data objects in the group.
For example, "array" is a class. All data objects of the "array" type (or group) have the same list of properties and methods:
Table of Contents
$class Statement - Create New Classes
Execution of $class Definition Body
__new() - Object Constructor Function
$instance Statement - Define Instance Template
Execution of $instance Definition Body
$method Statement - Define Object Method
_first() Method - Object Initialization
Access Class Variables from Object Methods
__delete() - Object Destructor Method
$delete Statement - Delete Objects
_last() Method - Object Cleanup
Inheritance - Object Attachments