Load H Program Package File

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

You can use the $load statement to load and execute an H program package with the following syntax:

$load package_name $from "package file location";

When the $load statement is executed, the H system will:

Example of loading and using an H package:

$load c $from "circle.h";

write(c.pi); # accessing a variable in package
write(c.area(2.0)); # accessing a function in package

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