source: trunk/LazFuck.lpr

Last change on this file was 145, checked in by chronos, 11 months ago
  • Modified: Remove U prefix from unit names.
  • Modified: Updated Common package.
File size: 800 bytes
Line 
1program LazFuck;
2
3{$mode objfpc}{$H+}
4
5uses
6 {$IFDEF UNIX}//{$IFDEF UseCThreads}
7 cthreads, clocale,
8 //{$ENDIF}
9 {$ENDIF}
10 Interfaces, // this includes the LCL widgetset
11 Forms, Target, FormCPU, FormMain, FormOutput, FormInput, FormMemory,
12 FormMessages, FormSourceCode, FormTargetCode, Core, Common,
13 SysUtils, BFCodeTools;
14
15{$R *.res}
16
17{$if declared(UseHeapTrace)}
18const
19 HeapTraceLog = 'heaptrclog.trc';
20{$ENDIF}
21
22
23begin
24 {$if declared(UseHeapTrace)}
25 DeleteFile(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
26 SetHeapTraceOutput(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
27 {$ENDIF}
28
29 Application.Scaled:=True;
30 Application.Title:='LazFuck IDE';
31 RequireDerivedFormResource := True;
32 Application.Initialize;
33 Application.CreateForm(TCore, Core.Core);
34 Application.Run;
35end.
36
Note: See TracBrowser for help on using the repository browser.