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
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to