Routine

From Free Pascal wiki
Revision as of 08:39, 22 July 2005 by Rfc1394 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

A routine is a piece of source code that performs some functionality. A routine may be coded directly as part of a program, or if it is usable by more than one piece of code, it may be defined as a function if it returns a value, or as a procedure if it does not.