Load Program Package Remotely

This section describes how to load an H program package file from a remote server.

You can load an H program package from a remote server by specify a URL where the package file can be retrieved.

Example of loading an H program package from a remote server:

$load c $from "http://herongyang.com/H/circle.h";

write(c.pi);
write(c.area(2.0));
write(c.circumference(2.0));

Of course, we need to add some security controls when loading programs from a remote server.

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

 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

 References

 Full Version in PDF/ePUB