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

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -