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,

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 jonas.ma...@elis.ugent.be mailto:jonas.ma...@elis.ugent.be 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

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 http://wiki.freepascal.org/Code_Conversion_Guide#Order_of_parameter_evaluation, order of parameter evaluation is not defined in FPC, but it is defined in Delphi

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,

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

2013-10-31 Thread Frederic Da Vitoria
2013/10/31 Sven Barth pascaldra...@googlemail.com Am 31.10.2013 02:45, schrieb Xiangrong Fang: 2013/10/30 Jonas Maebe jonas.ma...@elis.ugent.be 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

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 Sven Barth
Am 31.10.2013 12:38, schrieb Frederic Da Vitoria: 2013/10/31 Sven Barth pascaldra...@googlemail.com mailto:pascaldra...@googlemail.com Am 31.10.2013 02:45, schrieb Xiangrong Fang: 2013/10/30 Jonas Maebe jonas.ma...@elis.ugent.be mailto:jonas.ma...@elis.ugent.be This is

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

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

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,

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 pascaldra...@googlemail.com [...] 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

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 pascaldra...@googlemail.com mailto:pascaldra...@googlemail.com Am 31.10.2013 12:38, schrieb Frederic Da Vitoria: 2013/10/31 Sven Barth pascaldra...@googlemail.com mailto:pascaldra...@googlemail.com Am

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

2013-10-31 Thread Frederic Da Vitoria
2013/10/31 waldo kitty wkitt...@windstream.net 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

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 pascaldra...@googlemail.com mailto:pascaldra...@googlemail.com Am 31.10.2013 14:42, schrieb Frederic Da Vitoria: 2013/10/31 Sven Barth pascaldra...@googlemail.com mailto:pascaldra...@googlemail.com Am

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

[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] 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

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 gra...@geldenhuys.co.uk 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