> Are dynamic arrays initialized with nil after the setlength
call?
>From https://github.com/graemeg/freepascal/blob/master/rtl/inc/dynarr.inc:
You can see that the storage is allocated with GetMem and initialized with
FillChar 0. So if the base element is pointer, the contents are initialized
wi
Hello list! Are dynamic arrays initialized with nil after the setlength
call? Doc[1] doesn't say a word about that and my tests say yes, they
are initialized with nil. What is the supported behavior?
[1] http://www.freepascal.org/docs-html/ref/refsu18.html#x42-480003.3.1
___