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

matlab - Deleting rows with specific rules -

image - ClassNotFoundException when add a prebuilt apk into system.img in android -