If in doubt, why not to use the old-school records and an init-value procedure.<div><br></div><div>thanks,</div><div>Dmitry<br><br>On Tuesday, September 24, 2013, Dennis Poon  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>





<div bgcolor="#ffffff" text="#000000">
<font size="+1">if not, is there a clean and easy way to initialize the
entire record memory space to zeros e.g. <br>
<br>
constructor TMyRecord.Create(TheValue : Integer);<br>
begin<br>
  FillChar(self, sizeof(Self), 0);<br>
  Value := TheVal;<br>
end;<br>
<br>
Is there a Self variable for advanced record methods/constructors ?<br>
<br>
By the way, is there an ultimate inherited constructor "Create" for all
advanced record types?<br>
<br>
I cannot find any info by googling, so had to ask for your help here.<br>
<br>
Thanks in advanced.<br>
<br>
<br>
Dennis<br>
</font>
</div>

</blockquote></div>