J
JackKen
Unregistered / Unconfirmed
GUEST, unregistred user!
在程序中的某段有
var
something:sthclass;
begin
something:=sthclass.Create;
......//不进行free;
end;
那么something生存到什么时候?
又或是
proceduredo
something(something:sthclass)
begin
something:=sthclass.Create;
......//不进行free;
end;
又会怎样?
var
something:sthclass;
begin
something:=sthclass.Create;
......//不进行free;
end;
那么something生存到什么时候?
又或是
proceduredo
something(something:sthclass)
begin
something:=sthclass.Create;
......//不进行free;
end;
又会怎样?