[fpc-pascal] Array as result in function.
fiens at hotmail.com
Fri Jan 20 17:12:22 CET 2017
I am guilty. ;-(
There was a SetLength(Bufferin, x) hidden.
So the length of bufferin into the function was not the same as the "pure"
So, to resume:
function arraycopy(arrayin : Tarrayfloat): Tarrayfloat;
result := arrayin;
==> Perfect, the input arrayin = result. ;-(
Sorry for the noise (but I m still open for other solutions than dealing
with dynamic arrays).
(But dynamic arrays are wow).
Many thanks ;-)
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Array-as-result-in-function-tp5727366p5727379.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
More information about the fpc-pascal