[fpc-devel] Re: Testing for..in feature
florian at freepascal.org
Thu Nov 5 09:00:21 CET 2009
Paul Ishenin schrieb:
> Florian Klaempfl wrote:
>> You can use the rtti generated for those enums.
> Actually I can't :)
> type T = (a1, b1=5);
> ch: T;
> Info: PTypeInfo;
> Info := TypeInfo(T);
> compiler: project1.lpr(10,11) Error: No type info available for this type
This rtti isn't published for program use but e.g. writeln(<enum>) uses it.
More information about the fpc-devel