自定义一个过程,为什么我写进去就报错呢??
格式如下:
private
{ Private declarations }
procedure DoVisible;
procedure DoInVisible;
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
提示:
[Error] Unit1.pas(35): BEGIN expected but END found
[Error] Unit1.pas(37): Declaration expected but end of file found
[Fatal Error] Project1.dpr(5): Could not compile used unit 'Unit1.pas'