Am 23.08.2017 16:59 schrieb "Marcos Douglas B. Santos" <m...@delfire.net>: > > On Wed, Aug 23, 2017 at 11:07 AM, Anthony Walter <sys...@gmail.com> wrote: > > Here is another example: > > > > type > > TDay = (Monday = 0, Tuesday, Wednesday, Thursday, Friday, Saturday, > > Sunday); > > > > TDayHelper = record helper for TDay > > function AsByte: Byte; > > function ToString: string; > > end; > > I didn't know that helpers could be used in enums too. Great.
Helpers for primitive types are supported since 3.0.0. Regards, Sven
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal