Re: [fpc-devel] Declare variables inside the code

2011-05-10 Thread Joerg Schuelke
Am Wed, 11 May 2011 00:23:13 +0200 schrieb Vinzent Höfler : > I would. FPC already has interfaces. > > There are good reasons why most languages didn't adopt the C++-way > of doing MI. I think we have two concepts - inheritance - interface You can decide for one ore the other, or possibly

Re: [fpc-devel] Declare variables inside the code

2011-05-10 Thread Vinzent Höfler
On Wed, 11 May 2011 00:15:12 +0200, Joerg Schuelke wrote: Nobody would say that it is not helpful if somebody implements multi inherited objects for pascal. I would. FPC already has interfaces. There are good reasons why most languages didn't adopt the C++-way of doing MI. Vinzent. __

Re: [fpc-devel] Declare variables inside the code

2011-05-10 Thread Joerg Schuelke
Am Tue, 10 May 2011 18:41:35 -0300 schrieb "kingbiz...@gmail.com" : > Lets see the OOP, its very helpful and speedup a lot the work and has > been added to the Pascal. Same for generics. OOP is an concept. Nobody would say that it would not be helpful if pascal has templates -an other very helpf

Re: [fpc-devel] Declare variables inside the code

2011-05-10 Thread Vinzent Höfler
On Tue, 10 May 2011 23:48:30 +0200, Joerg Schuelke wrote: Am Tue, 10 May 2011 18:41:35 -0300 schrieb "kingbiz...@gmail.com" : Some small details can also increase the community. Lets see the OOP, its very helpful and speedup a lot the work and has been added to the Pascal. Same for generic

Re: [fpc-devel] Declare variables inside the code

2011-05-10 Thread Joerg Schuelke
Am Tue, 10 May 2011 18:41:35 -0300 schrieb "kingbiz...@gmail.com" : > Some small details can also increase > the community. > > Lets see the OOP, its very helpful and speedup a lot the work and has > been added to the Pascal. Same for generics. To decide that a declaration is a statement and c

Re: [fpc-devel] Declare variables inside the code

2011-05-10 Thread kingbiz...@gmail.com
Em 10/05/2011 18:29, Joerg Schuelke escreveu: Am Tue, 10 May 2011 23:50:29 +0200 schrieb Hans-Peter Diettrich: The syntax would look like: Block = "BEGIN" [Declarations] {Statement} "END" . Yea, it looks like C, but it is not. The difference in C like languages is that an declaration is just

Re: [fpc-devel] Declare variables inside the code

2011-05-10 Thread Joerg Schuelke
Am Tue, 10 May 2011 23:50:29 +0200 schrieb Hans-Peter Diettrich : > The syntax would look like: > > Block = "BEGIN" [Declarations] {Statement} "END" . Yea, it looks like C, but it is not. The difference in C like languages is that an declaration is just a kind of statement. Without this, I think

Re: [fpc-devel] Declare variables inside the code

2011-05-10 Thread kingbiz...@gmail.com
Em 10/05/2011 18:50, Hans-Peter Diettrich escreveu: kingbiz...@gmail.com schrieb: *I have been playing on other languages sometimes and I see some features that speed-up a lot the code creating. I'm posting here one, I want to see what you think about it. * *Good:* fast algorithm testings, c

Re: [fpc-devel] Declare variables inside the code

2011-05-10 Thread Hans-Peter Diettrich
kingbiz...@gmail.com schrieb: *I have been playing on other languages sometimes and I see some features that speed-up a lot the code creating. I'm posting here one, I want to see what you think about it. * *Good:* fast algorithm testings, code creating *Bad?:* not a standard of the pascal lan

[fpc-devel] Macro Patch

2011-05-10 Thread Joerg Schuelke
This third revision with additional %FUNC% macro and 'unknown' strings changed to internalerror. Regards Jörg Index: scanner.pas === --- scanner.pas (Revision 17417) +++ scanner.pas (Arbeitskopie) @@ -237,7 +237,7 @@ sy

Re: [fpc-devel] Declare variables inside the code

2011-05-10 Thread Vincent Snijders
2011/5/10 kingbiz...@gmail.com : > I have been playing on other languages sometimes and I see some features > that speed-up a lot the code creating. I'm posting here one, I want to see > what you think about it. > > Good: fast algorithm testings, code creating > Bad?: not a standard of the pascal l

Re: [fpc-devel] Declare variables inside the code

2011-05-10 Thread Joerg Schuelke
Am Tue, 10 May 2011 13:26:59 -0300 schrieb "kingbiz...@gmail.com" : > *Good:* fast algorithm testings, code creating > *Bad?:* not a standard of the pascal language Thats a bad idea. It is completely against the basic structure of pascal. Other Languages have other paradigms. For example C++. Th

[fpc-devel] Declare variables inside the code

2011-05-10 Thread kingbiz...@gmail.com
*I have been playing on other languages sometimes and I see some features that speed-up a lot the code creating. I'm posting here one, I want to see what you think about it. * *Good:* fast algorithm testings, code creating *Bad?:* not a standard of the pascal language /*method* MyMethod; *var*

Re: [fpc-devel] Re: Can't compile at revision: 17417

2011-05-10 Thread Marcos Douglas
On Tue, May 10, 2011 at 11:55 AM, Joerg Schuelke wrote: > Am Tue, 10 May 2011 11:11:22 -0300 > schrieb Marcos Douglas : > >> PS: BTW, what the difference (at least on Win) to use option "install" >> in 'make'? > > Thats not windows related, make works the same way on all platforms. > The arguments

Re: [fpc-devel] Re: Can't compile at revision: 17417

2011-05-10 Thread Joerg Schuelke
Am Tue, 10 May 2011 11:11:22 -0300 schrieb Marcos Douglas : > PS: BTW, what the difference (at least on Win) to use option "install" > in 'make'? Thats not windows related, make works the same way on all platforms. The arguments for make are: - options for make himself - targets (which parts of c

Re: [fpc-devel] Re: Can't compile at revision: 17417

2011-05-10 Thread Marcos Douglas
On Mon, May 9, 2011 at 5:38 PM, Joerg Schuelke wrote: > Am Mon, 9 May 2011 17:23:30 -0300 > schrieb Marcos Douglas : > >> > I use /fixes_2_4 but I could not to compile (error in first mail). >> > So, I took a look in sources from /trunk. I compared this files >> > (odbcsql) and saw this difference

Re: [fpc-devel] SQLite and ftFmtBCD

2011-05-10 Thread LacaK
I'll look at this solution. I'm a little bit confused about SQLFormatSettings and why it was implemented as it is now. I'll have to investigate this. IMO for locale independent formatting numeric, date, time values according to sql standard or better: ftFmtBCD: begin if P.A

Re: [fpc-devel] SQLite and ftFmtBCD

2011-05-10 Thread Joost van der Sluis
On Tue, 2011-05-10 at 12:39 +0200, LacaK wrote: > Hi Joost (and others also ;-), > > I comment your question about > http://bugs.freepascal.org/view.php?id=18809 here. > (because I do not know what comment here and what in bug tracker) > > I see problem in fact, that AsString returns number form

[fpc-devel] SQLite and ftFmtBCD

2011-05-10 Thread LacaK
Hi Joost (and others also ;-), I comment your question about http://bugs.freepascal.org/view.php?id=18809 here. (because I do not know what comment here and what in bug tracker) I see problem in fact, that AsString returns number formated using locale specific DecimalSeparator. So if FmtBCD p

Re: [fpc-devel] Closing bug reports or not ?

2011-05-10 Thread Mark Morgan Lloyd
Jonas Maebe wrote: On 09 May 2011, at 12:54, Mark Morgan Lloyd wrote: Is there a polite way for a reporter who's submitted a fix to ping management when the bug's not been assigned to anybody? You can always ask about it here, or add a "ping" comment to the bug (the latter will put it back a

Re: [fpc-devel] fppkg question

2011-05-10 Thread dhkblaszyk
On Tue, 10 May 2011 08:30:28 +0200 (CEST), Michael Van Canneyt wrote: On Tue, 10 May 2011, Darius Blaszyk wrote: Hi, I've created a trivial front end for fppkg (see lazarus mailing list) but working on this I realized that they are not grouped in any way. Currently with approx. 70 packages