subroutine
翻译
子程序, 子例程
例句
The program calls a subroutine to calculate the total.
该程序调用一个子程序来计算总数。
This subroutine handles all the error messages.
这个子程序处理所有的错误信息。
语法模式
((a/the)) subroutine 一个子程序。 The program calls a subroutine.
近义词
同义词: function, procedure, module
词源
源自前缀“sub-”(在…之下)和“routine”(常规程序)。它指一个较大程序中的一部分程序。
记忆技巧
可以把它想象成主程序中的一个“小程序”或辅助任务。