[fpc-devel] Feature announcement: Type helpers

Michael Schnell mschnell at lumino.de
Wed Feb 6 12:29:59 CET 2013


On 02/06/2013 12:26 PM, Michael Van Canneyt wrote:
>
>
>
> One can wonder whether
>
>   s:='(%d, %d)'.format([x, y]);
>
> is more or less clear than
>
>   s := Format('(%d, %d)', [x, y]);
>
but I feel

   point.x := x;
   point.y := y;
   s := point.ToString;

is most clear.

-Michael





More information about the fpc-devel mailing list