How could I get a function to return two value. In the exemple, how do I return the value of Out1, Out2 to the caller
Code: Select all
Test1(Val1, Val2);
_________________________________________
Function Test1
Input:
Val1 ( Numeric),
Val2 (Numeric);
Variables:
Out1 (0),
Out2 (0);
Out1 = Val1 * val2;
Out2 = Val1 + Val2;