Create H Program Package File

This section describes how to create an H program package file.

An H program package file is text file that contains H program code.

Usually, we create a H program package file with statements and functions that are designed to solve a specific problem.

For example, the following H program package file, circle.h, is created with the following statements and functions:

# circle.h
write("loading package circle.h...");

pi = 3.14159;

$function area(radius): {
   return ^.pi*radius**2; 

$function circumference(radius): {
   return ^.pi*radius*2; 

Table of Contents

 About This Book

 Introduction of H Language


 Data Types




 "boolean" Data Type

 "integer" Data Type

 "string" Data Type

 "real" Data Type

 "array" Data Type

Source Code Packages

 What Is Function

Create H Program Package File

 Load H Program Package File

 Load Program Package Multiple Times

 Load Program Package in Functions

 Load Program Package Remotely

 Expose H Program Package File

 Classes and Objects

 Object Oriented Programming

 Inheritance - Object Attachments

 Encapsulation - Private Members


 Full Version in PDF/ePUB