Procedure— definition, example and pronunciation in USA and UK English

Noun (thing)
Procedure
a series of programming steps beginning in a specific place and ending in a specific place that brings about a certain desired outcome
It took the programmer a week to code the required procedure but it fulfilled its purpose well for many years.