类的过程如何实现指向对象的指针指向自己,也就是c++里的this
var
basicQ : array of basic;
order : integer;type basic = class(TObject)
public
procedure log;
end;procedure basic.log;
begin
basicQ[order] := this?/?这里如何表达指向自己?
end;
var
basicQ : array of basic;
order : integer;type basic = class(TObject)
public
procedure log;
end;procedure basic.log;
begin
basicQ[order] := this?/?这里如何表达指向自己?
end;
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货