<div dir="ltr">2016-02-18 18:38 GMT-02:00 Jonas Maebe <span dir="ltr"><<a href="mailto:jonas.maebe@elis.ugent.be" target="_blank">jonas.maebe@elis.ugent.be</a>></span>:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">Mazola Winstrol wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Just to clarify: if i have a record type with a pointer field, this<br>
field will always zeroed?<br>
</blockquote>
<br></span>
No. As mentioned, all global variables are always zeroed. The type doesn't matter. Local variables are never zeroed, except if they are managed types. A pointer is not a managed type.<div class=""><div class="h5"><br>
<br></div></div></blockquote><div><br>May i add a remark about the behavior of managed types in the documentation? <br><br><a href="http://www.freepascal.org/docs-html/current/ref/refse23.html#x55-730004.4">http://www.freepascal.org/docs-html/current/ref/refse23.html#x55-730004.4</a><br><br></div><div>Regards<br></div><div><br><br></div></div></div></div>