Function

From StudyWiki

Revision as of 01:07, 21 January 2010 by Chris (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Overview

A function is a subroutine that returns a value.

It can also be used to refer to the functionality or purpose of a system. For example, "the system provides a number of functions".

In object orientated programming, functions are known as methods.

Programming Languages