[fpc-pascal] sizeof TTypeKind?

Ryan Joseph genericptr at gmail.com
Sat Mar 21 08:54:13 CET 2020



> On Mar 21, 2020, at 10:05 AM, Anthony Walter via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
> 
> 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:

Yes. It says a field is "tkInteger" but what size is that? I know it's 4 bytes on my system put I don't want to make a lookup table since there's surely a better way to do this.

Regards,
	Ryan Joseph



More information about the fpc-pascal mailing list