H (Hybrid) Language - v0.03, by Dr. Herong Yang
What Is Function
This section describes what is Package.
A package is a unit of H program code that can stored separately. It can be loaded and imported into the current program whenever needed.
Here are 3 main steps to create and use a package:
1. Create Package - Write and save the program code, mostly function definitions, of the package in file like circle.h.
2. Load Package - Use $load statement to load the program code from the package file into the current program.
3. Use Package - Call functions defined in the package a prefix to identify the package.
Table of Contents