Thank you again.

Yes learn C, Zorro is my vehicle for doing so.

I got at least now the function running with pointers.
Thank you for the hint.

I assume I still have plenty of mistakes, but sometimes those hints are the really valuable things.