Function returning multiple values?

How can I rewrite this code so that I get all the four values returned in the function each time it is called.

[AS]
x=0;
AverageShare=new Array();
for(k=1;k<=10;k++)
{
AverageShare=update();
trace(AverageShare);
trace("x = "+x);
}
function update()
{
x++;
for(i=1;i<=4;i++)
return x+i;
}
[/AS]