Y
yuren5340468
Unregistered / Unconfirmed
GUEST, unregistred user!
unit Umeber;
interface
uses classes;
type
Tuser=class
private
username:string;
age:Integer;
public
procedure SetUserName(Pname:string);
procedure SetAge(page:integer);
Constructor Create();
Destructor Destroy();override;
end;
出错信息
[Error] Umeber.pas(13): Unsatisfied forward or external declaration: 'Tuser.Create'
[Error] Umeber.pas(14): Unsatisfied forward or external declaration: 'Tuser.Destroy'
[Fatal Error] trail.dpr(7): Could not compile used unit 'Umeber.pas'
interface
uses classes;
type
Tuser=class
private
username:string;
age:Integer;
public
procedure SetUserName(Pname:string);
procedure SetAge(page:integer);
Constructor Create();
Destructor Destroy();override;
end;
出错信息
[Error] Umeber.pas(13): Unsatisfied forward or external declaration: 'Tuser.Create'
[Error] Umeber.pas(14): Unsatisfied forward or external declaration: 'Tuser.Destroy'
[Fatal Error] trail.dpr(7): Could not compile used unit 'Umeber.pas'