B
biosci
I am sure this a simple question.
I know how to use functions to return a single value (value as functio
name), but I do not know how to use them to return multiple variable
and/or arrays of numbers.
I need to use a function, but the function needs to return and array o
numbers (eg A(1 to X), where X is defined by sub calling the function
as well as another value.
Do I need to specify these at the start of the function and if so
how?
Do I need to use the ByRef and/or ParamArray keywords?
Help would be appreciate
I know how to use functions to return a single value (value as functio
name), but I do not know how to use them to return multiple variable
and/or arrays of numbers.
I need to use a function, but the function needs to return and array o
numbers (eg A(1 to X), where X is defined by sub calling the function
as well as another value.
Do I need to specify these at the start of the function and if so
how?
Do I need to use the ByRef and/or ParamArray keywords?
Help would be appreciate