subroutine
英 [ˈsʌbruːtiːn]
美 [ˈsʌbruːtiːn]
n. 子例程,子程序(程序中反复执行某任务的一系列指令)
复数:subroutines
BNC.30554 / COCA.30930
牛津词典
noun
- 子例程,子程序(程序中反复执行某任务的一系列指令)
a set of instructions which repeatedly perform a task within a program
英英释义
noun
- a set sequence of steps, part of larger computer program
双语例句
- The following subroutine displays a message box notifying the user which color they selected.
下面的子例程显示一个消息框,通知用户他们选择的颜色。 - This example declares a subroutine called square that squares the number and returns it.
该例声明一个名为square的子例程,计算某个数字的平方数并返回该数字。 - Furthermore, all the data you access in such a subroutine must also be in nonpaged memory.
另外,在这样一个子程序中你访问的所有数据也必须在不可分页内存中。 - When the Enter key is pressed, the subroutine exits if at least one character has been entered.
如果至少已输入了一个字符,则在按下Enter键后,子例程将退出。 - Functional maps provide reusable code that can be called like a subroutine from within one or more map rules.
功能性映射提供可重用的代码,可以在一个或多个映射规则中像子例程一样调用它们。 - So the system selected the appropriate subroutine within your driver.
所以这个系统选择在你的驱动中的适当的程序。 - Create an Exit command under the File menu, with a subroutine to exit the script.
使用一个退出脚本的子例程,在File菜单下创建一个Exit命令。 - Figure 2-1 illustrates the control flow of a subroutine before and after installing a call hook.
图2-1描绘了调用挂钩在安装前和安装后,一个子程序的控制流。 - This article uses an example of standardizing part names using the part name subroutine for a manufacturing company.
本文使用一个标准化部件名称的示例,使用一家制造公司的部件名称子程序。 - The createPipe subroutine is a simple method to create a nonblocking read from a pipe using threads.
createPipe子例程是从使用线程的管道中进行无阻塞读取的简单方法。