Word · Frequency #30554
subroutine
子程序
核心释义
a set sequence of steps, part of larger computer program
- 1.
由程序主体调用以执行任务的代码段
A section of code, called by the main body of a program, that implements a task.
- 2.
计算机程序中一组固定步骤的子程序
a set sequence of steps, part of larger computer program
由程序主体调用以执行任务的代码段;计算机程序中一组固定步骤的子程序
用法In use
The programmer called a subroutine to calculate the square root.
用法提示:此处 subroutine 作为名词,表示被调用的子程序,作宾语。
In this program, the main function repeatedly invokes several subroutines.
用法提示:此处 subroutines 是复数形式,作动词 invokes 的宾语。
A well-written subroutine can be reused across multiple projects.
用法提示:此处 subroutine 作为主语,表示具有可复用性的子程序。
call a subroutine
The main program calls a subroutine to compute the factorial.
主程序调用一个子程序来计算阶乘。
define a subroutine
相关词与表达Connections
学习提示Learner notes
一起学习词形Learn the forms together
页面下方列出了常见词形变化。学习时注意它们在句子中的语法位置。
Dictionary facts from ECDICT, WIKTIONARY.