[fpc-pascal] Enum property can't be published

Hairy Pixels genericptr at gmail.com
Tue Sep 27 14:03:22 CEST 2022



> On Sep 27, 2022, at 5:31 PM, Ondrej Pokorny via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
> 
> published
>   property MyEnumOrd: Integer read GetMyEnumOrd write SetEnumOrd; // gets/sets MyEnum as ordinal value

Yeah I guess that work also albeit with some boiler plate. Thanks.

Regards,
	Ryan Joseph



More information about the fpc-pascal mailing list