[fpc-devel] Feature announcement: Type helpers

Sven Barth pascaldragon at googlemail.com
Wed Feb 6 14:33:58 CET 2013


Am 06.02.2013 12:54, schrieb Paul Ishenin:
> 06.02.13, 19:29, Michael Schnell пишет:
>
>> but I feel
>>
>>    point.x := x;
>>    point.y := y;
>>    s := point.ToString;
>>
>> is most clear.
>
> This is what you can already do in FPC 2.6.0 with advanced records 
> feature active.
>
Or by using record helpers if one can not modify the used record type 
(e.g. because it's part of the RTL or FCL).

Regards,
Sven



More information about the fpc-devel mailing list