|
-
Feb 6th, 2008, 12:49 PM
#1
Thread Starter
Lively Member
Is there a "return()" call in VB6?
I am pretty sure there is not, but it would be quite useful if someone has a work around for this to return a value to the function that is processing the command.
Now that I am starting to work with Java and C++ I enjoy the (at times) simplicity of some commands. One being return();
I think they implemented this statement in VB.net 03 or 05 but perhaps there is one in vb6 that I just never have seen?
Why is it better? Dont have to repeat the function name. ex: instead of GetString = sString it could be return(sString).
Anyway, let me know if you think there is or is not, and if you have seen, think you know of, or found a work around instead of calling the function name again.
I mean it is not a big deal to retype the name, but hey, it prvides an easier outline and allows for better reusablilty.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|