Re: [fpc-pascal] class operator in record

2017-03-04 Thread noreply
On 2017-03-01 03:06, Graeme Geldenhuys wrote: 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

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

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

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

[fpc-pascal] class operator in record

2017-02-28 Thread noreply
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? Again, sorry I'm new to all this new record stuff (neo records ;-)) If they