Thank you for that answer.
Actually, the problem is, that i need to get back some multi dim arrays from the function.
Because arrays are emutable, this works in python (they are passed by ref)
Ok. It did not work in python4delphi EvalFunction.
Next, i tried to return at least one multi dimensional array in a function like below:
twodimarray = [[0]*10]*2
twodimarray[0][0] = 111.123
return(twodimarray)
This did neither work. I receive an variant array but it seems to be empty
So, what do I need to do to get back this array when calling EvalFunction?