Build A Library

The build process for libraries differs in that all methods in a library class are compiled. Library files are organised in a single directory tree. The root class for the library is in the root directory of the tree. After importing the classes used to build the library, only the methods belonging to classes in the directory tree are compiled into the libray. Support methods outside the tree are not compiled unless explicitly designated with a dependency.

Each library has its own name space which is declared in the library`s root class. Other libraries can use the same name space as long as there are no naming collisions between them. The root class declaration names the library and the Public phrase tells the compiler to build a library and designates the name space.

     class Utility_Library  public Utility_Space

Build a Program

Map File