Difference between End function and Exit function ?
|
Newbie Member
|
|
| 19Jul2010,08:14 | #1 |
|
what's different between End function and Exit function ?
|
|
Go4Expert Founder
|
![]() |
| 19Jul2010,08:46 | #2 |
|
End function is the last statement of the function where as if you wish to end the function somewhere during some conditional exit function should be used.
realheaven
like this
|
|
Newbie Member
|
|
| 19Jul2010,09:00 | #3 |
|
Thanks a lot!
i'm writing a simple application by VB and there is a fault. I appreciate any help. in my code i use a function : Private Function HexString(ByVal EvalString As String) As String ...... end function and i call it for specified purpose : ...... s = HexString( Byval EvalString As string) ..... but the VB warms me an error "expression expected" @ Byval . i don't know how to correct it |
|
Newbie Member
|
|
| 19Jul2010,09:21 | #4 |
|
i solved the case. the call function should be :
...... Dim ss As String ss = HexString(s) ...... |
|
Go4Expert Founder
|
![]() |
| 19Jul2010,09:26 | #5 |
|
Great to see that.
|

