lines 104-111
TInitMan = class
private
Items:array of TInitProc;
Count:word;
public
procedure Add(Proc:TInitProc);
procedure Init;
end;
line 179
InitMan:TInitMan;
lines 301-314
procedure TInitMan.Add;
begin
inc(Count);
SetLength(Items,Count);
Items[Count-1] := Proc;
end;
procedure TInitMan.Init;
var i:word;
begin
if Count > 0 then
for i := 0 to Count-1 do
Items[i];
end;
line 1372
InitMan := TInitMan.Create;