Re: [fpc-pascal] What is the difference between the declarations at the beginning of a class and those declared in the public section?

2011-11-06 Thread Graeme Geldenhuys
On 6 November 2011 22:28, Frank Church wrote: > If that is the case then a lot of Free Pascal and Delphi demos are teaching > bad practices because they make most members accessible externally when > there is no real reason to. I never thought about that much because I just > wanted to get my apps

[fpc-pascal] Kubuntu installation

2011-11-06 Thread Rainer Stratmann
I installed Kubuntu from a USB Stick (you can dd the iso file to an usb-stick and then boot from it, very userfriendly!) http://www.kubuntu.org There is also a userfriendly package manager included. http://www.packagekit.org With this package manager it was the first time, that I installed very

Re: [fpc-pascal] What is the difference between the declarations at the beginning of a class and those declared in the public section?

2011-11-06 Thread Sven Barth
On 06.11.2011 21:28, Frank Church wrote: If that is the case then a lot of Free Pascal and Delphi demos are teaching bad practices because they make most members accessible externally when there is no real reason to. I never thought about that much because I just wanted to get my apps working rat

Re: [fpc-pascal] What is the difference between the declarations at the beginning of a class and those declared in the public section?

2011-11-06 Thread Frank Church
On 6 November 2011 18:33, Jonas Maebe wrote: > > On 06 Nov 2011, at 19:26, Frank Church wrote: > > > So it means that unless a field or method is in the private or protected > > section > > or published, strict private or strict protected section > > > it is automatically public? > > Yes (or publ

Re: [fpc-pascal] Re: Delphi's anonymous functions in Free Pascal

2011-11-06 Thread Florian Klämpfl
Am 06.11.2011 19:21, schrieb Jürgen Hestermann: > Florian Klämpfl schrieb: >>> I have the same feeling as Dmitry: There must be a time when FPC does >>> not run after Delphi. Why not now? >> Feel free to start a fork and we will see what will make it into trunk. > > Sorry, but I don't know what yo

Re: [fpc-pascal] Re: Free Pascal 2.6.0rc1 released

2011-11-06 Thread Marco van de Voort
In our previous episode, Seth Grover said: > > We have placed the first release-candidate of the Free Pascal Compiler > > version 2.6.0 on our ftp-servers. > > Congratulations! That's an impressive list of new features. I've been > anticipating this release for some time. > > A couple of question

Re: [fpc-pascal] Re: Delphi's anonymous functions in Free Pascal

2011-11-06 Thread Jonas Maebe
On 06 Nov 2011, at 19:21, Jürgen Hestermann wrote: > Florian Klämpfl schrieb: > >> I have the same feeling as Dmitry: There must be a time when FPC does > >> not run after Delphi. Why not now? > > Feel free to start a fork and we will see what will make it into trunk. > > Sorry, but I don't know

Re: [fpc-pascal] Free Pascal 2.6.0rc1 released

2011-11-06 Thread Marco van de Voort
In our previous episode, J?rgen Hestermann said: > > version 2.6.0 on our ftp-servers. > > Here some issues I found: > > The text mode IDE states under "Help": Copyright (C) 1998-2009 by... > Shouldn't this be "1998-2011"? I will correct that. > When I now try to compile a short test progra

Re: [fpc-pascal] What is the difference between the declarations at the beginning of a class and those declared in the public section?

2011-11-06 Thread Jonas Maebe
On 06 Nov 2011, at 19:26, Frank Church wrote: > So it means that unless a field or method is in the private or protected > section or published, strict private or strict protected section > it is automatically public? Yes (or published in case of {$m+}, as Michael added). Jonas _

Re: [fpc-pascal] What is the difference between the declarations at the beginning of a class and those declared in the public section?

2011-11-06 Thread Frank Church
On 6 November 2011 14:43, Jonas Maebe wrote: > > On 06 Nov 2011, at 15:34, Frank Church wrote: > > > What is the difference between field declarations at the beginning of a > > class and those declared in the public section? > > There is no "the" public section. You can declare as many public (an

Re: [fpc-pascal] Re: Delphi's anonymous functions in Free Pascal

2011-11-06 Thread Jürgen Hestermann
Florian Klämpfl schrieb: >> I have the same feeling as Dmitry: There must be a time when FPC does >> not run after Delphi. Why not now? > Feel free to start a fork and we will see what will make it into trunk. Sorry, but I don't know what you are talking about. Isn't it you (and a few others) wh

Re: [fpc-pascal] Re: Delphi's anonymous functions in Free Pascal

2011-11-06 Thread Florian Klämpfl
Am 06.11.2011 18:24, schrieb Jürgen Hestermann: > Florian Klämpfl schrieb: >> Am 06.11.2011 15:13, schrieb dmitry boyarintsev: >>> Hi-jacking, the thread, and again should FPC chase Delphi forever? >> You mix here result and goal. If FPC supports new Delphi constructs >> depends on the fact if some

Re: [fpc-pascal] Re: Delphi's anonymous functions in Free Pascal

2011-11-06 Thread Jürgen Hestermann
Florian Klämpfl schrieb: > Am 06.11.2011 15:13, schrieb dmitry boyarintsev: >> Hi-jacking, the thread, and again should FPC chase Delphi forever? > You mix here result and goal. If FPC supports new Delphi constructs > depends on the fact if somebody provides a patch. No more, no less. I have the

Re: [fpc-pascal] Re: Delphi's anonymous functions in Free Pascal

2011-11-06 Thread Florian Klämpfl
Am 06.11.2011 15:13, schrieb dmitry boyarintsev: > On Sun, Nov 6, 2011 at 8:00 AM, Alexander Shishkin wrote: >> OK, agreed, this is more readable than Delphi syntax. But ... >> 1) If we implement lamdas is FPC we will have to support Delphi syntax. > > Hi-jacking, the thread, and again should FPC

Re: [fpc-pascal] What is the difference between the declarations at the beginning of a class and those declared in the public section?

2011-11-06 Thread Michael Van Canneyt
On Sun, 6 Nov 2011, Jonas Maebe wrote: On 06 Nov 2011, at 15:34, Frank Church wrote: What is the difference between field declarations at the beginning of a class and those declared in the public section? There is no "the" public section. You can declare as many public (and private, and

Re: [fpc-pascal] Re: Delphi's anonymous functions in Free Pascal

2011-11-06 Thread Alexander Shishkin
06.11.2011 18:13, dmitry boyarintsev пишет: On Sun, Nov 6, 2011 at 8:00 AM, Alexander Shishkin wrote: OK, agreed, this is more readable than Delphi syntax. But ... 1) If we implement lamdas is FPC we will have to support Delphi syntax. Hi-jacking, the thread, and again should FPC chase Delphi

Re: [fpc-pascal] What is the difference between the declarations at the beginning of a class and those declared in the public section?

2011-11-06 Thread Jonas Maebe
On 06 Nov 2011, at 15:34, Frank Church wrote: > What is the difference between field declarations at the beginning of a > class and those declared in the public section? There is no "the" public section. You can declare as many public (and private, and ...) sections as you want. > They are all

[fpc-pascal] What is the difference between the declarations at the beginning of a class and those declared in the public section?

2011-11-06 Thread Frank Church
What is the difference between field declarations at the beginning of a class and those declared in the public section? They are all visible aren't they, what is the conceptual difference between them? -- Frank Church === http://devblog.brahmancreations.com _

Re: [fpc-pascal] Re: Delphi's anonymous functions in Free Pascal

2011-11-06 Thread Jonas Maebe
On 06 Nov 2011, at 15:13, dmitry boyarintsev wrote: > Hi-jacking, the thread, and again should FPC chase Delphi forever? If we want to offer compatibility with source code written for Delphi, which does happen to be one of FPC's project goals, then yes, we do have to do that to some extent. >

Re: [fpc-pascal] Re: Delphi's anonymous functions in Free Pascal

2011-11-06 Thread dmitry boyarintsev
On Sun, Nov 6, 2011 at 8:00 AM, Alexander Shishkin wrote: > OK, agreed, this is more readable than Delphi syntax. But ... > 1) If we implement lamdas is FPC we will have to support Delphi syntax. Hi-jacking, the thread, and again should FPC chase Delphi forever? Their technical decisions are dire

Re: [fpc-pascal] Re: Delphi's anonymous functions in Free Pascal

2011-11-06 Thread Bernd
2011/11/6 Florian Klämpfl : > It would be probably more clear to write and this more pascalish: > > Procedure SomeOuter; > > Var >  d,e,f : SomeType; > >  Lambda Procedure > SomeInner(targetobject:ttargetobject;a:integer;b:someobject;c:string) >  begin >     targetobject.destinationprocedure(a,b,c)

Re: [fpc-pascal] Free Pascal 2.6.0rc1 released

2011-11-06 Thread Jonas Maebe
On 06 Nov 2011, at 11:56, Tommi Prami wrote: > On 6.11.2011 1:27, Marco van de Voort wrote: >> Details about these new features can be found at >> http://wiki.freepascal.org/FPC_New_Features_2.6.0 > > Seems that Freepascal Wiki is not available. If someone can access it post > the information o

Re: [fpc-pascal] Re: Delphi's anonymous functions in Free Pascal

2011-11-06 Thread Alexander Shishkin
06.11.2011 15:53, Florian Klämpfl пишет: Am 05.11.2011 22:58, schrieb Alexander Shishkin: 06.11.2011 1:46, Michael Van Canneyt пишет: On Sat, 5 Nov 2011, Bernd wrote: 2011/10/25: targethread.queue( procedure(targetobject:ttargetobject;a:integer;b:someobject;c:string) begin

Re: [fpc-pascal] Free Pascal 2.6.0rc1 released

2011-11-06 Thread Tommi Prami
On 6.11.2011 1:27, Marco van de Voort wrote: Hello, We have placed the first release-candidate of the Free Pascal Compiler version 2.6.0 on our ftp-servers. You can help improve the upcoming 2.6.0 release by downloading and testing this release. If you want you can report what you have done her

Re: [fpc-pascal] Re: Delphi's anonymous functions in Free Pascal

2011-11-06 Thread Bernd
2011/11/6 Michael Van Canneyt : > I am not against closure functionality, although I highly doubt it is *that* > useful as some people make it out to be. Even so, I use it in my Javascript > programming. I'm also not entirely sure about the necessity of closures in OP, but I must admit I am not t

Re: [fpc-pascal] Re: Delphi's anonymous functions in Free Pascal

2011-11-06 Thread Florian Klämpfl
Am 05.11.2011 22:58, schrieb Alexander Shishkin: > 06.11.2011 1:46, Michael Van Canneyt пишет: >> >> >> On Sat, 5 Nov 2011, Bernd wrote: >> >>> 2011/10/25 : >>> > targethread.queue( > procedure(targetobject:ttargetobject;a:integer;b:someobject;c:string) > begin >

Re: [fpc-pascal] Free Pascal 2.6.0rc1 released

2011-11-06 Thread Marco van de Voort
In our previous episode, Luiz Americo Pereira Camara said: > > > > ftp://freepascal.stack.nl/pub/fpc/beta/2.6.0-rc1/ > > Cant download > > 550 /pub/fpc/beta/2.6.0-rc1/: Permission denied. Fixed. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.o

Re: [fpc-pascal] Free Pascal 2.6.0rc1 released

2011-11-06 Thread Jürgen Hestermann
Marco van de Voort schrieb: > We have placed the first release-candidate of the Free Pascal Compiler > version 2.6.0 on our ftp-servers. Here some issues I found: The text mode IDE states under "Help": Copyright (C) 1998-2009 by... Shouldn't this be "1998-2011"? When I now try to compile a