1
2
3
4
5
6
7
8
9
10
11
12
13
|
program Project1; {关键字program,标准的Pascal源文件格式}
uses {uses单元引用列表}
Forms, {Forms窗体单元}
Unit1 in ‘Unit1.pas‘ {Form1} ;
{$R *.res} {编译器指令,引用项目的资源文件} begin {begin..end之间是具体的代码}
Application . Initialize; {初始化Appliaciton}
Application . CreateForm(TForm1, Form1); {创建Application的主窗体}
Application . Run; {启动Application}
end . {关键字end.表示代码结束}
|