ABSTRACT

A function is a subprogram which is used to perform a specific calculation (or similar task) and returns a single result. Functions like procedures may be called into action wherever they may be required in a program.