Function procedure

A procedure that performs a specific task within a program and returns a value.  A Function procedure begins with a Function statement and ends with an End Function statement.