2
2843223
Unregistered / Unconfirmed
GUEST, unregistred user!
unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls;type ta=class public Constructor create overload; end; type TForm1 = class(TForm) btn1: TButton; procedure btn1Click(Sender: TObject); private { Private declarations } public { Public declarations } a:ta; end;var Form1: TForm1;implementation{$R *.dfm}constructor ta.create;beginend;procedure TForm1.btn1Click(Sender: TObject);begina.create;end;end.为什么 运行 a.create 就报错误!!