Function (computer programming)
Appearance
In computer programming parlance, a 'subprogram refers to a sequence of instructions, also called a subroutine or procedure. It may or may not return a value to the caller. Some programming languages (such as Pascal) contrast a procedure, which does not return a value to the caller (although it may modify objects passed by reference), with a function, which does produce a return value. Other programming languages (such as C) call all procedures "functions".