Re: [fpc-pascal] Powtils: lightwebserver, lightwebserver2 or lightwebserver3?

2013-10-31 Thread Juha Manninen
On Mon, Oct 28, 2013 at 3:22 PM, Graeme Geldenhuys wrote: > Having recently (and currently still) doing extensive work with embedded > HTTP servers, I tested many (Powtils, Indy, tiWebServer, FPC, nYume etc). I > must agree with Michael, fphttpserver is a good choice. There is a bit of a > learnin

Re: [fpc-pascal] Re: SqlDB fails under Windows to create a newFirebirddatabase

2013-10-31 Thread Graeme Geldenhuys
On Thursday 31/10/2013 at 11:50, Sven Barth wrote: Something different, Graeme: can it be that you did some change to your e-mail setup? Since some days your answers mess up the threading by appearing as top level messages... Yes, I'm accessing my emails remotely for the last 3

[fpc-pascal] Github mirror repositories will be down for a few days

2013-10-31 Thread Graeme Geldenhuys
Hi, I'm relocating the server that manages the [unofficial] Github mirror repositories for FPC and Lazarus to the UK (from South Africa). The whole process should be done by Tuesday or Wednesday next week. Sorry for the inconvenience an long downtime. Regards, - Graeme -

Re: [fpc-pascal] private type and type compatibility

2013-10-31 Thread Martin
On 31/10/2013 14:41, Frederic Da Vitoria wrote: ...and this modification would only become relevant for new code, so quite probably not worth the compiler extra code. Yes, I can understand this too. But my question was not about changing the behavior of fpc (not any more). This was a theoreti

Re: [fpc-pascal] private type and type compatibility

2013-10-31 Thread Tomas Hajny
On Thu, October 31, 2013 15:34, Frederic Da Vitoria wrote: > 2013/10/31 waldo kitty > >> On 10/31/2013 7:38 AM, Frederic Da Vitoria wrote: >> >>> But is this really good? Doesn't this contradict the Pascal >>> philosophy? Borland did a few questionable things (look at how you used >>> the >>> semi

Re: [fpc-pascal] private type and type compatibility

2013-10-31 Thread Sven Barth
Am 31.10.2013 15:41, schrieb Frederic Da Vitoria: 2013/10/31 Sven Barth > Am 31.10.2013 14:42, schrieb Frederic Da Vitoria: 2013/10/31 Sven Barth mailto:pascaldra...@googlemail.com>> Am 31.10.2013 12:38, schrieb Frederic Da Vitoria:

Re: [fpc-pascal] private type and type compatibility

2013-10-31 Thread Frederic Da Vitoria
2013/10/31 Sven Barth > Am 31.10.2013 14:42, schrieb Frederic Da Vitoria: > > 2013/10/31 Sven Barth > >> Am 31.10.2013 12:38, schrieb Frederic Da Vitoria: >> >> 2013/10/31 Sven Barth >> >>> Am 31.10.2013 02:45, schrieb Xiangrong Fang: >>> >>> 2013/10/30 Jonas Maebe >>> This is

Re: [fpc-pascal] private type and type compatibility

2013-10-31 Thread Frederic Da Vitoria
2013/10/31 waldo kitty > On 10/31/2013 7:38 AM, Frederic Da Vitoria wrote: > >> But is this really good? Doesn't this contradict the Pascal >> philosophy? Borland did a few questionable things (look at how you used >> the >> semicolons in you examples above ;-) ), >> > > i can't see anything unto

Re: [fpc-pascal] private type and type compatibility

2013-10-31 Thread Sven Barth
Am 31.10.2013 14:42, schrieb Frederic Da Vitoria: 2013/10/31 Sven Barth > Am 31.10.2013 12:38, schrieb Frederic Da Vitoria: 2013/10/31 Sven Barth mailto:pascaldra...@googlemail.com>> Am 31.10.2013 02:45, schrieb Xiangrong Fang: 2013/

Re: [fpc-pascal] private type and type compatibility

2013-10-31 Thread waldo kitty
On 10/31/2013 7:38 AM, Frederic Da Vitoria wrote: 2013/10/31 Sven Barth [...] It's this way at least since Turbo Pascal (though without classes then ;) ). Yes, I agree this is the TP/Delphi way, and as such should be kept at least in DELPHI mode. and TP mode, of course ;) But is this

Re: [fpc-pascal] Re: SqlDB fails under Windows to create a newFirebird database

2013-10-31 Thread waldo kitty
On 10/30/2013 10:34 AM, Graeme Geldenhuys wrote: On Wednesday 30/10/2013 at 15:37, Michael Van Canneyt wrote: AFAIK: Windows doesn't know single quotes, you need to use double quotes. Thanks Michael, you are correct. When using double quotes Windows was happy. Even if the path had spaces in, u

Re: [fpc-pascal] private type and type compatibility

2013-10-31 Thread Frederic Da Vitoria
2013/10/31 Sven Barth > Am 31.10.2013 12:38, schrieb Frederic Da Vitoria: > > 2013/10/31 Sven Barth > >> Am 31.10.2013 02:45, schrieb Xiangrong Fang: >> >> 2013/10/30 Jonas Maebe >> >>> >>> This is not equivalent. A private type declaration in a class adds a >>> new identifier that is visi

Re: [fpc-pascal] private type and type compatibility

2013-10-31 Thread Sven Barth
Am 31.10.2013 12:38, schrieb Frederic Da Vitoria: 2013/10/31 Sven Barth > Am 31.10.2013 02:45, schrieb Xiangrong Fang: 2013/10/30 Jonas Maebe mailto:jonas.ma...@elis.ugent.be>> This is not equivalent. A private type declaration in a class

Re: [fpc-pascal] Efficient String concatenation

2013-10-31 Thread Antonio Fortuny
Hi All. Based upon the code into the post, I've driven a test case: three platforms and Delphi 5, Delphi XE, Lazarus 1.0.12 (FPC 2.6.2) For a comparison purpose, the main specific code has been written in a classical way, using implicit string and the optimized code uses the function result as

Re: [fpc-pascal] private type and type compatibility

2013-10-31 Thread Frederic Da Vitoria
2013/10/31 Sven Barth > Am 31.10.2013 02:45, schrieb Xiangrong Fang: > > 2013/10/30 Jonas Maebe > >> >> This is not equivalent. A private type declaration in a class adds a new >> identifier that is visible inside that class. You then use it, still in >> that class, to declare the return type

Re: [fpc-pascal] Re: SqlDB fails under Windows to create a newFirebird database

2013-10-31 Thread Sven Barth
Am 30.10.2013 15:34, schrieb Graeme Geldenhuys: On Wednesday 30/10/2013 at 15:37, Michael Van Canneyt wrote: AFAIK: Windows doesn't know single quotes, you need to use double quotes. Thanks Michael, you are correct. When using double quotes Windows was happy. Even if the path had spaces in, u

Re: [fpc-pascal] Argument evaluation order in Free Pascal and Delphi

2013-10-31 Thread Sven Barth
Am 31.10.2013 09:45, schrieb Michael Schnell: On 10/28/2013 02:47 PM, Dmitry Pribysh wrote: As it is written in Free Pascal wiki , order of parameter evaluation is not defined in FPC, but it is defined in Delphi (D

Re: [fpc-pascal] private type and type compatibility

2013-10-31 Thread Sven Barth
Am 31.10.2013 02:45, schrieb Xiangrong Fang: 2013/10/30 Jonas Maebe > This is not equivalent. A private type declaration in a class adds a new identifier that is visible inside that class. You then use it, still in that class, to declare the return

Re: [fpc-pascal] Argument evaluation order in Free Pascal and Delphi

2013-10-31 Thread Michael Schnell
On 10/28/2013 02:47 PM, Dmitry Pribysh wrote: As it is written in Free Pascal wiki , order of parameter evaluation is not defined in FPC, but it is defined in Delphi (Delphi guarantees left-to-right evaluation order

Re: [fpc-pascal] Re: SqlDB fails under Windows to create a newFirebird database

2013-10-31 Thread Graeme Geldenhuys
On Wednesday 30/10/2013 at 15:37, Michael Van Canneyt wrote: AFAIK: Windows doesn't know single quotes, you need to use double quotes. Thanks Michael, you are correct. When using double quotes Windows was happy. Even if the path had spaces in, using double quotes still worked. Regards,