Hi,
Do recent revisions support returning multiple values from internal function? It used not to.
Example:
function main() {
....
var X = MyFunc1(parameters);
var xx = X[0];
var yy = X[1];
var zz = X[2];
...
}
function MyFunc1(parameters) {
......
return new Array(V0,V1,V2) //Vx are calculated by this function
}
If anybody can help it would be appreciated
Thank you.
Mihai
Do recent revisions support returning multiple values from internal function? It used not to.
Example:
function main() {
....
var X = MyFunc1(parameters);
var xx = X[0];
var yy = X[1];
var zz = X[2];
...
}
function MyFunc1(parameters) {
......
return new Array(V0,V1,V2) //Vx are calculated by this function
}
If anybody can help it would be appreciated
Thank you.
Mihai
Comment