[fpc-pascal] Class vs Object type

Vojtěch Čihák vojtech.cihak at atlas.cz
Wed Apr 6 15:13:56 CEST 2016

How can I do it?
When I try do:
TMyObj = object(TObject)
compiler tells me:
Error: The mix of different kind of objects (class, object, interface, etc) isn't allowed
> Od: Tomas Hajny <XHajT03 at hajny.biz>
> Komu: "FPC-Pascal users discussions" <fpc-pascal at lists.freepascal.org>
> Datum: 06.04.2016 14:07
> Předmět: Re: [fpc-pascal] Class vs Object type
On Wed, April 6, 2016 13:26, Michael Van Canneyt wrote:
> On Wed, 6 Apr 2016, Graeme Geldenhuys wrote:

True. Note that objects descended from TObject are automatically zeroed
out as well as soon as one calls the constructor Init.


fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal <http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20160406/ce80a495/attachment.html>

More information about the fpc-pascal mailing list