[fpc-devel] TTypeData

Michael Van Canneyt michael at freepascal.org
Mon Apr 21 10:23:02 CEST 2008



On Mon, 21 Apr 2008, Ricardo Aguiar wrote:

> On Sunday 20 April 2008, Michael Van Canneyt wrote:
> > tkBool is no longer used, as far as I know, it's tkEnumeration ?
> >
> > Michael.
> 
> It is an element part of TTypeKind as defined in typinfo.pp as 
> you can see below:
> 
> 37       TTypeKind = (tkUnknown,tkInteger,tkChar,tkEnumeration,
> 38                   tkFloat,tkSet,tkMethod,tkSString,tkLString,tkAString,
> 39                   tkWString,tkVariant,tkArray,tkRecord,tkInterface,
> 40                   tkClass,tkObject,tkWChar,tkBool,tkInt64,tkQWord,
> 41                   tkDynArray,tkInterfaceRaw);
> 
> Well, it seems to be an enumeration. And I "greped" the RTL 
> sources and saw that this value is used very often. 

Yes, but if the compiler never writes tkBool to the type data, it
doesn't matter that it is not present in some locations.

Anyway, I'll have a look at it.

Michael.



More information about the fpc-devel mailing list