hi there,
can someone tell me how i can return a value computed using another function?
thank you!
so i roughly have:
sub example()
call myFunction(var1,var2)
'want to be able to use the result from myFunction here...
end sub
private function myFunction(var1 as string, var2 as integer) as double
'some code here that does some random thing
myFunction = dataThatIWant
exit function
end function
can someone tell me how i can return a value computed using another function?
thank you!
so i roughly have:
sub example()
call myFunction(var1,var2)
'want to be able to use the result from myFunction here...
end sub
private function myFunction(var1 as string, var2 as integer) as double
'some code here that does some random thing
myFunction = dataThatIWant
exit function
end function