M
Mark Kamoski
Hi Everyone.
Please help.
Is there a way to return void from a Function?
That is, what are the ramifications of writing something like the
following...
Private Function DoSomething()
''''''''''' code
Return Nothing
End Function
Is there any advantage to doing this?
What if there is no return type stated and the Return is left off entirely?
What happens then? Are there any implications?
(What I want to do here is to both explicitly state that there is no return
value and at the same time to use a Function rather than a Sub.)
Please advise.
Thank you.
--Mark.
Please help.
Is there a way to return void from a Function?
That is, what are the ramifications of writing something like the
following...
Private Function DoSomething()
''''''''''' code
Return Nothing
End Function
Is there any advantage to doing this?
What if there is no return type stated and the Return is left off entirely?
What happens then? Are there any implications?
(What I want to do here is to both explicitly state that there is no return
value and at the same time to use a Function rather than a Sub.)
Please advise.
Thank you.
--Mark.