<p style="padding:0 0 0 0; margin:0 0 0 0;">How can I do it?</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">When I try do:</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">TMyObj = object(TObject)</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">compiler tells me:</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"><span style="font-size: 10pt;">Error: The mix of different kind of objects (class, object, interface, etc) isn't allowed</span></p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">Thanks</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">V.</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">______________________________________________________________<br />
> Od: Tomas Hajny <XHajT03@hajny.biz><br />
> Komu: "FPC-Pascal users discussions" <fpc-pascal@lists.freepascal.org><br />
> Datum: 06.04.2016 14:07<br />
> Předmět: Re: [fpc-pascal] Class vs Object type<br />
></p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">On Wed, April 6, 2016 13:26, Michael Van Canneyt wrote:<br />
> On Wed, 6 Apr 2016, Graeme Geldenhuys wrote:<br />
<br />
True. Note that objects descended from TObject are automatically zeroed<br />
out as well as soon as one calls the constructor Init.<br />
<br />
Tomas<br />
<br />
<br />
_______________________________________________<br />
fpc-pascal maillist - fpc-pascal@lists.freepascal.org<br />
<a href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a></p>