Some logical process for accomplishing a task.
Plural of datum.
A single unit, or item, of information. Plural data.
A type of use for one or more languages. A language used in a single domain is called a domain-specific language.
for loop Edit
A sequence of instructions with no side-effects which returns a value, modeled after the algebraic function. Many languages use this term in place of subroutine, which this may be considered a type of. Related terms include procedure and method.
A sequence of instructions which has side-effects and does not return a value. The BASIC family of languages use this term in place of subroutine, which this may be considered a type of. Related terms include function and method.
A sequence of instructions which may have side-effects and may return a value. Related terms include function, method, and procedure, all of which may be considered as types of subroutines. Less commonly known as a routine.