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
双语例句
- This example declares a subroutine called square that squares the number and returns it.
该例声明一个名为square的子例程,计算某个数字的平方数并返回该数字。 - Create an Exit command under the File menu, with a subroutine to exit the script.
使用一个退出脚本的子例程,在File菜单下创建一个Exit命令。 - When the Enter key is pressed, the subroutine exits if at least one character has been entered.
如果至少已输入了一个字符,则在按下Enter键后,子例程将退出。 - A brake system model subroutine was developed and embedded in ADAMS.
开发了独立的制动模型子程序,并在ADAMS软件中进行应用。 - The following subroutine displays a message box notifying the user which color they selected.
下面的子例程显示一个消息框,通知用户他们选择的颜色。 - Figure 2-1 illustrates the control flow of a subroutine before and after installing a call hook.
图2-1描绘了调用挂钩在安装前和安装后,一个子程序的控制流。 - The design of hardware circuits of the system, main program of the system, and each subroutine of the module, as well as the simulation and debugging based on PORTEUS are expounded.
说明了系统硬件电路、系统主程序与各模块子程序的设计以及基于PORTEUS软件的仿真与调试等。 - This example first switches to Thumb state, then calls a subroutine that was written in Thumb code.
本示例首先切换到Thumb状态,然后调用一个在Thumb代码编写子程序。 - As a separate function, and merely called it from inside the anonymous subroutine.
设计为一个单独的函数,而只是在匿名子例程中去调用它。 - The end result is, in all cases, a subroutine with a call interface.
在所有情况下最终的结果都是带有调用接口的子例程。