Definition: (noun) A set sequence of steps, part of larger computer program.
Synonyms: procedure, function.
Usage: Apparently, the program was crashing because there were careless typos in the code for a pivotal subroutine.
Discuss
Source: The Free Dictionary