This VB6 tutorial helps you to understand if functions and subroutines in Visual Basic 6. It gives examples of both.
www.google.com.tw