Re: [fpc-pascal] class operator in record

2017-03-01 Thread Graeme Geldenhuys
On 2017-03-01 02:39, nore...@z505.com wrote: > How come: > >class operator Initialize(var aFoo: TFoo); >class operator Finalize(var aFoo: TFoo); > > in a record are called class operator.. > > why not "record operator"? hahaha... You are asking all the questions I've been meaning to as

Re: [fpc-pascal] class operator in record

2017-03-01 Thread Sven Barth
Am 01.03.2017 03:39 schrieb : > > How come: > > class operator Initialize(var aFoo: TFoo); > class operator Finalize(var aFoo: TFoo); > > in a record are called class operator.. > > why not "record operator"? > > Are these advanced neo-records considered classes? It's simply that Delphi introd

Re: [fpc-pascal] class operator in record

2017-03-01 Thread Sven Barth
Am 01.03.2017 10:06 schrieb "Graeme Geldenhuys" < mailingli...@geldenhuys.co.uk>: > > On 2017-03-01 02:39, nore...@z505.com wrote: > > How come: > > > >class operator Initialize(var aFoo: TFoo); > >class operator Finalize(var aFoo: TFoo); > > > > in a record are called class operator.. > >

Re: [fpc-pascal] class operator in record

2017-03-01 Thread Marco van de Voort
In our previous episode, Sven Barth said: > > > > why not "record operator"? > > > > Are these advanced neo-records considered classes? > > It's simply that Delphi introduced static methods to records using the same > syntax as for classes and operators followed along. > > We've simply followed t

[fpc-pascal] Run Time Type Info - are the type names of all classes defined in a unit stored in the RTTI?

2017-03-01 Thread Dennis
Programmatically, I want to make a list of all Classes defined in the unit. Is this info stored in the RTTI or anywhere else? Thanks in advance. Dennis ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mail

Re: [fpc-pascal] Run Time Type Info - are the type names of all classes defined in a unit stored in the RTTI?

2017-03-01 Thread Sven Barth
Am 01.03.2017 11:53 schrieb "Dennis" : > > Programmatically, I want to make a list of all Classes defined in the unit. > Is this info stored in the RTTI or anywhere else? This info is not yet available, but will be in the future. Regards, Sven ___ fpc-p

[fpc-pascal] Lazarus Release 1.6.4

2017-03-01 Thread Mattias Gaertner
The Lazarus team is glad to announce the release of Lazarus 1.6.4. This is a bugfix release. This release was built with FPC 3.0.2. The previous release Lazarus 1.6.2 was built with FPC 3.0.0. Here is the list of fixes for Lazarus 1.6.x: http://wiki.freepascal.org/Lazarus_1.6_fixes_branch Here i

Re: [fpc-pascal] FPC 3.0.2 released!

2017-03-01 Thread Bo Berglund
On Fri, 17 Feb 2017 18:55:56 +0100 (CET), mar...@stack.nl (Marco van de Voort) wrote: >Finally, FPC 3.0.2 has landed. FPC 3.0.2 is an update to 3.0.0 that >contains some compiler bugfixes and library progress since 3.0.0 > Am I still supposed to use 2.6.4 as compiler to build 3.0.2? I am getting

Re: [fpc-pascal] FPC 3.0.2 released!

2017-03-01 Thread Jonas Maebe
On 01/03/17 21:55, Bo Berglund wrote: Am I still supposed to use 2.6.4 as compiler to build 3.0.2? I am getting an error about the "seed" compiler when I try to build 3.0.2 with a 3.x compiler You have to build it with the previous release, i.e. 3.0.0 Jonas __

Re: [fpc-pascal] Run Time Type Info - are the type names of all classes defined in a unit stored in the RTTI?

2017-03-01 Thread Dennis Poon
Sven Barth wrote: Am 01.03.2017 11:53 schrieb "Dennis" >: > > Programmatically, I want to make a list of all Classes defined in the unit. > Is this info stored in the RTTI or anywhere else? This info is not yet available, but will be in the future. Thanks.

Re: [fpc-pascal] FPC 3.0.2 released!

2017-03-01 Thread Bo Berglund
On Wed, 1 Mar 2017 22:04:26 +0100, Jonas Maebe wrote: >On 01/03/17 21:55, Bo Berglund wrote: >> Am I still supposed to use 2.6.4 as compiler to build 3.0.2? >> I am getting an error about the "seed" compiler when I try to build >> 3.0.2 with a 3.x compiler > >You have to build it with the pre

Re: [fpc-pascal] Run Time Type Info - are the type names of all classes defined in a unit stored in the RTTI?

2017-03-01 Thread Sven Barth
Am 02.03.2017 06:30 schrieb "Dennis Poon" : > > > > Sven Barth wrote: > >> >> Am 01.03.2017 11:53 schrieb "Dennis" >: >> > >> > Programmatically, I want to make a list of all Classes defined in the unit. >> > Is this info stored in the RTTI or anywhere else? >> >> This info is not yet available, bu