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.
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