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.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to