定义一个类:
type
TAA=class
public
Function ABC():Boolean;
private
FA:Integer;
procedure SetA(Value:Integer);
published
property A:Integer read FA write SetA;
end;问题1:
我在
Function TAA.ABC():Boolean;
中对FA赋值,和对A赋值有什么区别???
问题2:
在
procedure SetA(Value:Integer);
中对FA赋值,和对A赋值有什么区别???
type
TAA=class
public
Function ABC():Boolean;
private
FA:Integer;
procedure SetA(Value:Integer);
published
property A:Integer read FA write SetA;
end;问题1:
我在
Function TAA.ABC():Boolean;
中对FA赋值,和对A赋值有什么区别???
问题2:
在
procedure SetA(Value:Integer);
中对FA赋值,和对A赋值有什么区别???
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货