A function Question

how to make a function that will not lose the values of the variable before calling it and will not lose them after it is finished.

example.

 
a= 2; 
b=3;
go();
trace(c);
 
function go (){
 
c= a * b ;
return;
}