c# - How to return out of a function or event in VB 6 -
in c# if wanted return out of function do:
if (something == true) { //message box return; } else { // nothing }
how 1 vb 6?
in vb6, write
functionname = returnvalue
yes, seriously.
to stop execution of function, use exit function
(or exit sub
)
Comments
Post a Comment