[fpc-devel] TTypeKind, strings and chars

Maciej Izak hnb.code at gmail.com
Sat Jun 1 00:48:59 CEST 2013


Hi,

I'm creating another more advanced (and 99% compatible with Delphi) version
of the library Generics.Collections (without GetValueSize and
GetReferenceToValue specially for Sven :P) and I have some dilemmas about
TTypeKind.

What happened to tkLString? All strings with code page, UTF8String,
AnsiString, RawByteString etc. become tkAString. In Delphi analogous types
are as tkLString. tkLString is deprecated/dead? ;) I can't find the type
that have tkLString "type kind".

Another thing: Why there is tkUChar when we have tkWChar?... I can't find
the type that have tkUChar "type kind" too (UnicodeChar is tkWChar).

Regards,
HNB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20130601/cac79b80/attachment.html>


More information about the fpc-devel mailing list