rVal1 = "" && or whatever is appropriate for return type rVal2 = "" && ditto above nRetStatus = yourfunc(var1,var2,@rVal1,@rVal2)