subroutine
Definitions
A sequence of computer instructions designed to perform a specific task, which can be called by a larger program.
Examples
The program uses a subroutine to calculate the total.
She wrote a subroutine that sorts the list.
A sequence of computer instructions designed to perform a specific task, which can be called by a larger program.
The program uses a subroutine to calculate the total.
She wrote a subroutine that sorts the list.