Unit Initialize

DescriptionUsesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

 

Uses

Overview

Functions and Procedures

PROCEDURE Initialize;

Description

Functions and Procedures

PROCEDURE Initialize;

purpose initialize everything for the program NB Think Pascal sets up toolbox managers, flushes event queue, and calls MoreMasters 10x This routine contains the following code, which Dawkins later commented on (it initializes the RootGod data structure, which is used extensively in Pedigree.)

		RootGod := GodHandle(NewHandle(SizeOf(God)));
		IF MemError <> noErr THEN
			ExitToShell;
		RootGodˆˆ.Adam := NIL;
		RootGodˆˆ.NextGod := NIL;
		RootGodˆˆ.PreviousGod := NIL;


Generated by PasDoc 0.14.0.