Function returning multiple arguments of different types

Hi,

So I have a function, but I would need that function to return multiple arguments (sort of like pointers work in C++ code).

For example assume a function

func real[int] foo(real fooReal, bool[int] fooBoolArray, real[int] fooRealArray){
  // Do something with variables
  return fooNewRealArray;
}

Where the function should not only return the array but also update the fooBoolArray and fooReal variables.

Is this even possible within the FreeFem?