The Pascal way to avoid using too much IntToStr is:

begin
  s := Format('%d %d', [X, Y]);
end;

Much shorter, no?

And you can configure in multiple ways how to format the numbers.

-- 
Felipe Monteiro de Carvalho
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to