[fpc-pascal] Undocumented SetLength functionality
pascaldragon at googlemail.com
Tue May 15 14:12:01 CEST 2018
Torsten Bonde Christiansen <tc at epidata.info> schrieb am Di., 15. Mai 2018,
> Is this a feature, bug or undocumented behaviour?
This is a feature and absolutely by design.
> Afair, this was allowed back in Delphi7 (which is where i copied some of
> my old code from), but i'm not sure whether it was documented.
> At least the current RTL documentation on SetLength does not include
> other variants than the one with just a single length specifier.
While it's not explicitly mentioned it's at least used in one f the
examples for dynamic arrays in the language guide:
Maybe this can indeed be clarified a bit.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal