program generator; {$mode objfpc}{$H+} uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} Interfaces, // this includes the LCL widgetset Forms, UCore, URules, Common, TemplateGenerics, UFormRule, UFormMain, UFormRules, UFormRuleItem { you can add units after this }; {$R *.res} begin RequireDerivedFormResource := True; Application.Initialize; Application.CreateForm(TCore, Core); Application.CreateForm(TFormMain, FormMain); Application.CreateForm(TFormRule, FormRule); Application.CreateForm(TFormRules, FormRules); Application.CreateForm(TFormRuleItem, FormRuleItem); Application.Run; end.