[fpc-pascal] Copy dynamic array

Florian Klämpfl florian at freepascal.org
Tue May 15 19:25:21 CEST 2018


Am 15.05.2018 um 14:15 schrieb denisgolovan:
> A side note:
> 
> I am still wondering why there is no something like "Clone" function to make an independent copy of string/array/... ? It's used quite often in practice (as we don't have copy-on-write working in all circumstances).

There is. It is just called copy.




More information about the fpc-pascal mailing list