You need to set the function name = the result or result$ you want the function to return.
The function can only retrun one value through its name that you set as usually last line of function.
The function can only retrun one value through its name that you set as usually last line of function.
Code: (Select All)
Print sum(1, 1)
Function sum (a, b) ' sum is default single taking default single a and b as arguments.
sum = a + b
End Function
b = b + ...