[fpc-pascal] Array as result in function.

fredvs fiens at hotmail.com
Fri Jan 20 13:18:26 CET 2017


Thanks very much for answers.

@ silvioprog:

>  using that function as callback with some (C/C++) library?

Yes and check its parameter calling convention is ok.

@ Martin.

> result:= copy(arrayin); 

Ha, I did not know this one.
I will try it (and write you asap).

Many thanks.

Fre;D




-----
Many thanks ;-)
--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Array-as-result-in-function-tp5727366p5727375.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.



More information about the fpc-pascal mailing list