jvcoach23
Centurion
I'm trying to write a function in a class. when I create the function, before I even put any real meat in the function,
i'm getting the warning that the function doesn't return a value on all code paths. A null reference exception could occur at run time when teh result is used.
I've done some digging but can't turn anything up. can anyone help me out on by explaining what is going on. I did this in vb 2003 and didn't run into it... hope someone can explain it to me.
thanks
shannon
i'm getting the warning that the function doesn't return a value on all code paths. A null reference exception could occur at run time when teh result is used.
I've done some digging but can't turn anything up. can anyone help me out on by explaining what is going on. I did this in vb 2003 and didn't run into it... hope someone can explain it to me.
thanks
shannon