I have a shared Sub in a class that calls a shared function in the same class. I would like the Shared fuction to return a value back to the sub.
ex.
Shared sub A
call Shared Function B (this, that)
use StringA
end sub
Shared Function B(this, that)
Dim StringA as string
determine stringA
Return StringA ' return that value back to Sub A
end Function
Am I even close?
Thank you for your help
ex.
Shared sub A
call Shared Function B (this, that)
use StringA
end sub
Shared Function B(this, that)
Dim StringA as string
determine stringA
Return StringA ' return that value back to Sub A
end Function
Am I even close?
Thank you for your help