2016-02-18 18:38 GMT-02:00 Jonas Maebe <jonas.ma...@elis.ugent.be>:

> Mazola Winstrol wrote:
>
>> Just to clarify: if i have a record type with a pointer field, this
>> field will always zeroed?
>>
>
> 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.
>
>
>
May i add a remark about the behavior of managed types in the
documentation?

http://www.freepascal.org/docs-html/current/ref/refse23.html#x55-730004.4

Regards
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to