[fpc-pascal] Check In Interface Type Helpers
Marcos Douglas B. Santos
md at delfire.net
Wed Aug 23 16:58:54 CEST 2017
On Wed, Aug 23, 2017 at 11:07 AM, Anthony Walter <sysrpl at 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
More information about the fpc-pascal
mailing list