[fpc-pascal] why can't we define class operator for old fashion object type, but ok for 'advanced record' type?

Dennis Poon dennis at avidsoft.com.hk
Thu Aug 16 12:23:05 CEST 2018



Sven Barth via fpc-pascal wrote:
> Am 15.08.2018 um 10:59 schrieb Dennis:
>> Why class operator is accepted for advanced records but not old 
>> fashion object???
> Because objects are not records. Internally they are handled more 
> closely to classes than records.
>
Would it be too hard to also implement class operators for old fashion 
objects?  That will be very  nice.

Dennis




More information about the fpc-pascal mailing list