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. Best regards, Marcos Douglas _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal