<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi,<br>
</p>
On 26/6/2016 7:20 μμ, Jürgen Hestermann wrote:<br>
<blockquote cite="mid:5530aa46-789f-06ef-4038-ed2673684044@gmx.de"
type="cite">And because it is a manged type I could rely on the
documentation
<br>
which says that managed types are initialized (with zero
length/nil).
<br>
"Result" is used in the same way as a (local) variable.
<br>
What should make me think that it is different?
<br>
</blockquote>
<br>
as Barry Kelly pointed out there
<a class="moz-txt-link-freetext" href="http://stackoverflow.com/questions/861045/which-variables-are-initialized-when-in-delphi/861178#861178">http://stackoverflow.com/questions/861045/which-variables-are-initialized-when-in-delphi/861178#861178</a>,<br>
initialization differs on what mechanism was used to allocate memory
. AFAIU, <span class="comment-copy">"initialized" <>
"zero-filled" .<br>
<br>
regards,<br>
<br>
-- <br>
Dimitrios Chr. Ioannidis<br>
<a class="moz-txt-link-abbreviated" href="http://www.nephelae.eu">www.nephelae.eu</a><br>
</span>
</body>
</html>