noun

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”(常规程序)。它指一个较大程序中的一部分程序。

可以把它想象成主程序中的一个“小程序”或辅助任务。

本页面旨在提供学习支持。请将其作为学习参考,而非正式词典使用。