I am going through some old VB code and I run into function definitions like these -
Private Function ExistingCustomer(Index As Integer, Customer As String)
A function holds data and code. But a subroutine contains only code, but not data.