[fpc-pascal] two questions about dynamic array
Sven Barth
pascaldragon at googlemail.com
Wed Mar 13 10:37:42 CET 2013
Am 13.03.2013 10:08 schrieb "Xiangrong Fang" <xrfang at gmail.com>:
> 2) After SetLength(myarray, 0), is myarray nil or pointing to some
invalid address?
It will be Nil. An equivalent alternative would be:
MyArray := Nil;
Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130313/5ae6a4cc/attachment.html>
More information about the fpc-pascal
mailing list