Function

From Lazarus wiki
Revision as of 17:51, 1 May 2006 by Daniel-fpc (talk | contribs) (Hersteld tot de versie na de laatste wijziging door FPK.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

A function is a declaration of a routine which may be invoked from within the unit that declares it, from outside the unit if the function is public, or from within a program, and the routine returns a value as part of its definition. A routine that does not return a value as part of its definition is a procedure, however, technically a function is also a procedure as well.