Re: [fpc-devel] Default IntToStr operator for '+' symbol.

2011-04-30 Thread Skybuck Flying
- Original Message - From: Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com To: FPC developers' list fpc-devel@lists.freepascal.org Sent: Friday, 29 April, 2011 10:23 AM Subject: Re: [fpc-devel] Default IntToStr operator for '+' symbol. The Pascal way to avoid using too

Re: [fpc-devel] Default IntToStr operator for '+' symbol.

2011-04-30 Thread Daniƫl Mantione
Op Fri, 29 Apr 2011, schreef Skybuck Flying: I just had an idea how to better layout floats and such. The old way of laying them out in writeln can be used which I love and is great: Example: begin s := vSomeFloat:16:16 + ' ' + vSomeFloat:16:16; end; Good, then you really need to look

[fpc-devel] Default IntToStr operator for '+' symbol.

2011-04-29 Thread Skybuck Flying
Hello, I am not sure, maybe we discussed this before, maybe not. I am getting quite sick of having to write IntToStr all the fricking time like so: begin s := IntToStr(X) + ' ' + IntToStr(Y); end; So much typing for nothing ?!? I could have written just: begin s := X + ' ' + Y; end;

Re: [fpc-devel] Default IntToStr operator for '+' symbol.

2011-04-29 Thread Felipe Monteiro de Carvalho
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 -

Re: [fpc-devel] Default IntToStr operator for '+' symbol.

2011-04-29 Thread Florian Klaempfl
Am 29.04.2011 10:23, schrieb Felipe Monteiro de Carvalho: The Pascal way to avoid using too much IntToStr is: begin s := Format('%d %d', [X, Y]); end; Much shorter, no? ... or writestr(s,x,' ',y); ___ fpc-devel maillist -