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

2011-11-05 Thread Seth Grover
Jonas, thanks for the link. For some reason it wasn't showing up on the viewvcs interface until I cleared my browser cache and refreshed. Thanks again. -SG -- This email is fiction. Any resemblance to actual events or persons living or dead is purely coincidental. Seth Grover __

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

2011-11-05 Thread Jonas Maebe
On 06 Nov 2011, at 02:32, Seth Grover wrote: > A couple of questions: where can this be found in svn? I don't see a > tag for it, and fixes_2_6 hasn't been modified for 8 weeks or so. http://svn.freepascal.org/svn/fpc/tags/release_2_6_0_rc1/ Jonas __

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

2011-11-05 Thread Seth Grover
> 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 questions: where can this be found in svn? I don't see a tag for

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

2011-11-05 Thread Michael Van Canneyt
On Sat, 5 Nov 2011, Bernd wrote: A closure has enclosed variables from the surrounding scope where it was created, hence the name 'closure'. You cannot do this with a procedure variable alone, you need an object on the heap to contain the enclosed variables. The Delphi compiler will behind th

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

2011-11-05 Thread Alexander Shishkin
06.11.2011 3:47, Luiz Americo Pereira Camara пишет: On 5/11/2011 20:27, Marco van de Voort wrote: Downloads are available at the FTP server at: ftp://freepascal.stack.nl/pub/fpc/beta/2.6.0-rc1/ Cant download 550 /pub/fpc/beta/2.6.0-rc1/: Permission denied. Luiz

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

2011-11-05 Thread Ralf A. Quint
At 04:47 PM 11/5/2011, Luiz Americo Pereira Camara wrote: On 5/11/2011 20:27, Marco van de Voort wrote: Downloads are available at the FTP server at: ftp://freepascal.stack.nl/pub/fpc/beta/2.6.0-rc1/ Cant download 550 /pub/fpc/beta/2.6.0-rc1/: Permission denied. ditto... :-( Ralf _

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

2011-11-05 Thread silvioprog
2011/11/5 Luiz Americo Pereira Camara : > On 5/11/2011 20:27, Marco van de Voort wrote: >> >> Downloads are available at the FTP server at: >> >> ftp://freepascal.stack.nl/pub/fpc/beta/2.6.0-rc1/ > > Cant download > > 550 /pub/fpc/beta/2.6.0-rc1/: Permission denied. > > Luiz x( http://imagebin.or

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

2011-11-05 Thread Luiz Americo Pereira Camara
On 5/11/2011 20:27, Marco van de Voort wrote: Downloads are available at the FTP server at: ftp://freepascal.stack.nl/pub/fpc/beta/2.6.0-rc1/ Cant download 550 /pub/fpc/beta/2.6.0-rc1/: Permission denied. Luiz ___ fpc-pascal maillist - fpc-pasca

[fpc-pascal] Free Pascal 2.6.0rc1 released

2011-11-05 Thread Marco van de Voort
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 here: http://wiki.freepascal.org/Testers_2.6.0 Ch

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

2011-11-05 Thread Bernd
2011/11/5 Michael Van Canneyt : > Procedure SomeOuter; > > Var >  d,e,f : SomeType; > >  Procedure > SomeInner(targetobject:ttargetobject;a:integer;b:someobject;c:string) >   begin >      targetobject.destinationprocedure(a,b,c); >   end; > > begin >  Targethread.queue(@SomeInner(aobject,d,e,f)); >

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

2011-11-05 Thread 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 targetobject.destinationprocedure(a,b,c); end; Note how common thi

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

2011-11-05 Thread 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               targetobject.destinationprocedure(a,b,c);             end; Note how common this looks compared to the original. One poin

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

2011-11-05 Thread Alexander Shishkin
05.11.2011 22:42, Bernd пишет: 2011/10/25: targethread.queue( procedure(targetobject:ttargetobject;a:integer;b:someobject;c:string) begin targetobject.destinationprocedure(a,b,c); end; Note how common this looks compared to the original. One point i

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

2011-11-05 Thread Marco van de Voort
In our previous episode, Bernd said: > > Equivalent solution with anon functions: > > > > targethread.queue( > > ? procedure(targetobject:ttargetobject;a:integer;b:someobject;c:string) > > ? ? ? ? ? ? ?begin > > ? ? ? ? ? ? ? ?targetobject.destinationprocedure(a,b,c); > > ? ? ? ? ? ? ?end; > > sho

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

2011-11-05 Thread Bernd
2011/10/25 Marco van de Voort : > Equivalent solution with anon functions: > > targethread.queue( >   procedure(targetobject:ttargetobject;a:integer;b:someobject;c:string) >              begin >                targetobject.destinationprocedure(a,b,c); >              end; shouldn't this be targeth

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

2011-11-05 Thread Bernd
2011/10/25 : >> targethread.queue( >>  procedure(targetobject:ttargetobject;a:integer;b:someobject;c:string) >>             begin >>               targetobject.destinationprocedure(a,b,c); >>             end; >> >> Note how common this looks compared to the original. > > One point is that you cou