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

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

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -