Yes, sure!
This was working!
Now I went around the issue, so I don't really need support to sort it out. I would just like to understand if there is some specific case in which you cannot do something like:
a = a + b
Or if this is always allowed.
function lininterpolSAC (Farray2D<double> SAC, double point_x, integer pos) : double
integer i(0)
double interpolatedvalue ()
if (point_x != 0)
While (SAC.at(i , 0) <= point_x)
i = i + 1
endwhile
Else
i = 1
Endif
interpolatedvalue = SAC.at(i-1, pos) + (point_x - SAC.at(i - 1, 0)) / (SAC.at(i, 0) - SAC.at(i - 1, 0)) * (SAC.at(i, pos) - SAC.at(i-1, pos))
return (interpolatedvalue)
Endfunction
Thank you!!