[fpc-pascal] Dynamic array initialization

Joao Morais l at joaomorais.com.br
Mon Mar 17 22:29:12 CET 2014


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





More information about the fpc-pascal mailing list