|

楼主 |
发表于 2009-7-12 09:39:17
|
显示全部楼层
键入代码- program helloworld;
- {$mode objfpc}{$H+}
- uses
- Classes, SysUtils;
- {$IFDEF WINDOWS}{$R project1.rc}{$ENDIF}
- begin
- writeln('Hello World');
- end.
复制代码 后,弹出另一个选项卡,名字是“project1”,内容是- program project1;
- {$mode objfpc}{$H+}
- uses
- {$IFDEF UNIX}{$IFDEF UseCThreads}
- cthreads,
- {$ENDIF}{$ENDIF}
- Interfaces, // this includes the LCL widgetset
- Forms
- { you can add units after this }, LResources, Unit1, helloworld;
- {$IFDEF WINDOWS}{$R project1.rc}{$ENDIF}
- begin
- {$I project1.lrs}
- Application.Initialize;
- Application.Run;
- end.
复制代码 橙条在第1行,Messages是project1.lpr(1,1) Fatal: Can't find unit Unit1 used by project1 |
|