A
awfigsk
Unregistered / Unconfirmed
GUEST, unregistred user!
classtype方法源代码如何理解?
function TObject.classType:TClass;
begin
Pointer(Result):=PPointer(Self)^;
end;
为什么不用Pointer(Self)^?
并且为何Integer(Pointer(Self)^)的值与Integer(PPointer(Self)^)的值都是一样的?
还请指点!谢谢!
function TObject.classType:TClass;
begin
Pointer(Result):=PPointer(Self)^;
end;
为什么不用Pointer(Self)^?
并且为何Integer(Pointer(Self)^)的值与Integer(PPointer(Self)^)的值都是一样的?
还请指点!谢谢!