[fpc-pascal] Dynamic arrays, yet another pitfall

Jürgen Hestermann juergen.hestermann at gmx.de
Sun Feb 16 11:10:20 CET 2014


Am 2014-02-15 19:41, schrieb Michael Van Canneyt:
> That setlength behaves rather freakish for dynamic arrays, does not mean we have copy-on-write.

Well, setlength *is* a write.
What else is it?
Doesn't it write to the array?



More information about the fpc-pascal mailing list