Function

From GDWiki

Revision as of 08:54, 14 March 2008 by Codehead (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search
This article is a stub. You can help out by expanding it.


[edit] Definition

Functions, also known as subroutines, procedures, or methods, are groups of computer code that can be declared once and then reused throughout a program, saving programming time and reducing the size of the binary executable. They are similar to mathematical functions, in that they can receive input, process that input, and produce a calculated result. However, computer subroutines are more sophisticated, with the ability to do anything normal computer code can do.

[edit] See Also

Wikipedia article on Function (computer science)