subroutine
/ˈsʌbrʌɪn/ or /ˈsʌbˌroʊtɪn/Definitions
1. noun
a section of code or a procedure that can be called and executed from another part of a program or a larger process.
“The program’s main function called a subroutine to perform the calculations.”
2. noun
a smaller part of a larger procedure or routine, especially one that is done regularly or at fixed intervals.
“The daily routine included several subroutines for exercise, meditation, and meal planning.”
3. verb
to perform or carry out a part of a larger procedure or routine, especially one that is done regularly or at fixed intervals.
“The hospital subroutine patients for regular check-ups and follow-up appointments.”