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


_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to