What Is Object Attachment

This section describes what is object attachments.

Object attachment is a new concept in object-oriented programming that allows you to attach another object to the current object.

Object attachment is similar to sub-classes or class extensions in other programming languages.

When object "b" is attached to object "a", all properties and methods in "b" are available in "a" now. This makes "a" extended to include "b".

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

What Is Object Attachment

 $append Statement - Attach Objects

 Name Collision in Attached Objects

 Append Multiple Object Attachments

 $trim Statement - Detach Objects

 Build Subclasses with Superclasses

 Object Morphinism by Changing Attachments

 Encapsulation - Private Members

 References

 Full Version in PDF/ePUB