function
A block of code, consisting of an identifying name, return type, optional parameters, and statements, that performs one or more specific tasks within the source program and returns a value to the caller.
In the PurifyPlus help system, function is a collective term and includes functions, procedures, and methods.
See also procedure and method in the glossary.
(C) Copyright IBM Corporation 1993, 2009.