User defined functions, how to return more than on value?

hay guys.

i understand a user defined function can not be an array, for some reason! so whats the best ie simplest way to return mutable values?

thanks

Mutable or multiple?

You can return a struct.

Tell us what you want to do, not how you think it should be done.

Use pointers for the values you want to return.

so whats the best ie simplest way to return mutable values?

Pass by reference.