Delphi6 , 怎么能得到 set 类型的 RTTI 信息?(50)

  • 主题发起人 justweiwei
  • 开始时间
J

justweiwei

Unregistered / Unconfirmed
GUEST, unregistred user!
Procedure abcd;type TDigits = set of '0'..'9'
var tdSampledigi : TDigits
typeInfo : PTypeInfo;begin tdSampledigi := ['2', '4'..'7'];// typeInfo := PTypeInfo(TypeInfo(TDigits))^.Name);// typeInfo := TypeInfo(TDigits);//以上两句都不能被编译,一直提示 type Tdigits has no type infoend;
 

Similar threads

I
回复
0
查看
564
import
I
S
回复
0
查看
3K
SUNSTONE的Delphi笔记
S
I
回复
0
查看
642
import
I
S
回复
0
查看
2K
SUNSTONE的Delphi笔记
S
I
回复
0
查看
571
import
I
顶部