[fpc-pascal] No type info available for this type (Enumerated type with constant assignment)

Sven Barth pascaldragon at googlemail.com
Mon Jul 23 17:05:02 CEST 2018


Dennis <dec12 at avidsoft.com.hk> schrieb am Mo., 23. Juli 2018, 12:24:

> Is this kind of enumerated type with constant assignment not supported
> by FPC 3.0.4?
>
>    TMonthType = (January=1, February, May=5,June, July);
>

The enumeration type itself is supported, however TypeInfo() and thus
GetEnumName() and friends are not.

Regards,
Sven

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20180723/be2cb027/attachment.html>


More information about the fpc-pascal mailing list