[fpc-pascal] sizeof TTypeKind?

Anthony Walter sysrpl at gmail.com
Sat Mar 21 04:05:27 CET 2020


I think what Ryan is asking about is how to find the size of the
variant part of TTypeData as used in the "case TTypeKind of" section. As in:

      public
         {$ifdef PROVIDE_ATTR_TABLE}
         AttributeTable : PAttributeTable;
         {$endif}
         case TTypeKind of
            tkUnKnown,tkLString,tkWString,tkVariant,tkUString:
              ();
            tkAString:
              (CodePage: Word);
{$ifndef VER3_0}
            tkInt64,tkQWord,
{$endif VER3_0}
            tkInteger,tkChar,tkEnumeration,tkBool,tkWChar,tkSet:
              (OrdType : TOrdType;
               case TTypeKind of
...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20200320/9895bb27/attachment.html>


More information about the fpc-pascal mailing list