Function that return arrays...

V

V Ramos

I don't know if my question is correct...is there anyone there who knows how
to implement a function that returns multiple (multidimensional)
values...which you can reference like an array...for example...

MyFunction(1,1)=FirstComputedValue
MyFunction(1,2)=SecondComputedValue

....suggestions for an alternative method will be very much appreciated...
 
A

Alex Dybenko

yes, function can return an array, but better to assign a local array to
function result, and then use it values. Else your function will run each
time
 
Top