04-21-2004, 11:12 AM | #1 (permalink) |
Devils Cabana Boy
Location: Central Coast CA
|
retrurning a value from a function
im usualy much better in VB then in C but this time i want to do something that is easy in C with VB
with a function in C you can return a value from a function with return(Var); how can i do that in VB right now i call th function, and then pass the variable through a tempVar, i would like to just set a variable equal to the function like i can in C.
__________________
Donate Blood! "Love is not finding the perfect person, but learning to see an imperfect person perfectly." -Sam Keen |
04-21-2004, 12:14 PM | #2 (permalink) |
Once upon a time...
|
it's a good idea to label threads with the language.
a google search gives this: http://www.vbtutor.net/lesson11.html might help.
__________________
-- Man Alone ======= Abstainer: a weak person who yields to the temptation of denying himself a pleasure. Ambrose Bierce, The Devil's Dictionary. |
Tags |
function, retrurning |
|
|