Table of Content
HAL Forum
procedure SourceFile (
string Source,integer InclusionLevel)
Description:
Includes .hob or .hal files to current HAL from a specified location.
Parameters:
Source Path to .hob file or hal folder (e.g "halcust//Maint" or "hob//server.hob")
InclusionLevel The level of the inclusion.
// Inclusion level:
// 0	Funcitons that are in level 0 hal files are treated as inner functions - they 
//	do not replace the functions in .hob files permanetly, but have the same 
// 	level of priority that the core functions have. Declaration of functions that 
//	reside inside hob files do not need to include "inner" statement.
// 1-2	Reserved
// 3	Customization files. Treated as outer functions and procedures. Declaration 
//	of functions that reside inside hob files need to include "inner" statement.

procedure AddJewelleryFiles()
begin
  if (FileExists(HobFolder & "jwlcli.hob")) then begin
    SourceFile(HobFolder & "jwlcli.hob",kCodeLevelIndustry);
  end;
  if (FileExists(HobFolder & "jwlsvr.hob")) then begin
    SourceFile(HobFolder & "jwlsvr.hob",kCodeLevelIndustry);
  end;
  return;
end;
Related topics:
««