[fpc-pascal] Re: two questions about dynamic array

Sven Barth pascaldragon at googlemail.com
Wed Mar 13 14:21:11 CET 2013


Am 13.03.2013 10:45 schrieb "Xiangrong Fang" <xrfang at gmail.com>:
>>
>> Yes, in that case it will be Nil (Note: in the static case the elements
of the array would be 0).
>
>
> So, it is even OK to use SetLength() on static arrays? interesting.

No, I meant that the content of a static array will be initialized to zero
inside a class instance.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130313/462be0db/attachment.html>


More information about the fpc-pascal mailing list