Re: [fpc-pascal] round(2.5)=2

2018-06-08 Thread Bernd Oppolzer
Am 08.06.2018 um 14:47 schrieb Klaus Hartnegg: Hi, The round function behaves different than in TurboPascal, and its English Wiki page differs from the German page. When given an argument halfway between to integers, FreePascal rounds to the nearest even number, TurboPascal always rounds

Re: [fpc-pascal] FP IDE browse-function (search symbol) errors

2018-06-08 Thread Marco van de Voort
In our previous episode, Klaus Hartnegg said: > I'm struggling with two issues with the Search,Symbol (Browse) function > of the FreePascal IDE. Afaik browse hasn't been worked on in a long time. https://bugs.freepascal.org/view.php?id=21113 ___

[fpc-pascal] FP IDE browse-function (search symbol) errors

2018-06-08 Thread Klaus Hartnegg
Hi, I'm struggling with two issues with the Search,Symbol (Browse) function of the FreePascal IDE. Are these known issues, or is something wrong with how I installed or configured FreePascal? 1: With duplicate names it always shows the results for the one which was declared first.

[fpc-pascal] round(2.5)=2

2018-06-08 Thread Klaus Hartnegg
Hi, The round function behaves different than in TurboPascal, and its English Wiki page differs from the German page. When given an argument halfway between to integers, FreePascal rounds to the nearest even number, TurboPascal always rounds up (except when it is set to mode $N+, but

Re: [fpc-pascal] Migrate Delphi XE5 to FPC/Lazarus, any advice?

2018-06-08 Thread Bo Berglund
On Fri, 8 Jun 2018 09:59:35 +0200, Mattias Gaertner wrote: >Better ask such question on the Lazarus list or forum Sorry, I was using my newsreader in GMane and did not notice I was in the wrong NG... -- Bo Berglund Developer in Sweden ___ fpc-pascal

Re: [fpc-pascal] Migrate Delphi XE5 to FPC/Lazarus, any advice?

2018-06-08 Thread Mattias Gaertner
On Fri, 08 Jun 2018 09:04:57 +0200 Bo Berglund wrote: > On Fri, 08 Jun 2018 07:25:21 +0200, Bo Berglund > wrote: > > >I think I will change foot here and look at the 1D first since this is > >a pure Delphi native application. Uses Delphi's own graphics. > > Forgot to ask if Lazarus is able

Re: [fpc-pascal] Migrate Delphi XE5 to FPC/Lazarus, any advice?

2018-06-08 Thread Bo Berglund
On Fri, 08 Jun 2018 07:25:21 +0200, Bo Berglund wrote: >I think I will change foot here and look at the 1D first since this is >a pure Delphi native application. Uses Delphi's own graphics. Forgot to ask if Lazarus is able to read the dproj project file used by Delphi XE5? -- Bo Berglund

Re: [fpc-pascal] Migrate Delphi XE5 to FPC/Lazarus, any advice?

2018-06-08 Thread Michael Schnell
On 07.06.2018 12:04, Bo Berglund wrote: I found this when searching but it is dated back in 2007 so it does not cover how to deal with the string to unicode string change in Delphi 2009 and forward Which might be a major issue as Delphi uses UTF-16, While Lazarus uses UTF-8. -Michael