[fpc-devel] Unicode FPC : "WideString" and tkWString / tkUString

Inoussa OUEDRAOGO inoussa12 at gmail.com
Mon Sep 22 04:47:34 CEST 2008


Hi

This program prints "tkUString". Is this by design or should it had
print tkWString ?

<code>
program widestrprop_p;
{$mode objfpc}{$H+}
uses
  typinfo;
var
  p : PTypeInfo;
begin
  p := TypeInfo(WideString);
  WriteLn(GetEnumName(TypeInfo(TTypeKind),Ord(p^.Kind)));
  ReadLn;
end.
</code>

Best regards.
-- 
Inoussa O.



More information about the fpc-devel mailing list