Previous Section
4. A brief description of the resource editor
| Contents | Next Section
Contents

5. Full sources



////////////////////////////////////////////////////////////////
// File: "demo.hla"
program demo;
#include	("src\demo.hhf")

begin demo;
	
	dbg.put("Inside demo.hla");
	w.MessageBox(NULL,"From demo.hla","DEMO",w.MB_OK);
	call FromUnit;
	
end demo;
///////////////////////////////////////////////////////////


////////////////////////////////////////////////////////////////
// File: "DemoUnit.hla"
unit demounit;
#include	("src\demo.hhf")
	
	procedure FromUnit;
	begin FromUnit;
	
		dbg.put("Inside FromUnit procedure");
		w.MessageBox(NULL,"From DemoUnit","DEMO",w.MB_OK);
		
	end FromUnit;

end demounit;
////////////////////////////////////////////////////////////////


////////////////////////////////////////////////////////////////
// File: "demo.hhf"
#include	("w.hhf")
#include	("hide\dbgwin.hhf")

procedure FromUnit;	@external;
///////////////////////////////////////////////////////////