52古典>英语词典>subroutine翻译和用法

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

      双语例句

      • The call subroutine is used for this sentence.
        这个语句是用来调用子程序。
      • The following subroutine displays a message box notifying the user which color they selected.
        下面的子例程显示一个消息框,通知用户他们选择的颜色。
      • The end result is, in all cases, a subroutine with a call interface.
        在所有情况下最终的结果都是带有调用接口的子例程。
      • When the Enter key is pressed, the subroutine exits if at least one character has been entered.
        如果至少已输入了一个字符,则在按下Enter键后,子例程将退出。
      • This example declares a subroutine called square that squares the number and returns it.
        该例声明一个名为square的子例程,计算某个数字的平方数并返回该数字。
      • If one or more asterisks are present, the subroutine will continue its processing to create the regular expressions.
        如果有一个或多个星号,子程序将继续执行处理来创建正则表达式。
      • Call: A programming instruction that invokes a subroutine.
        调用:是程式设计的指令;用它召唤子例行程式。
      • This example first switches to Thumb state, then calls a subroutine that was written in Thumb code.
        本示例首先切换到Thumb状态,然后调用一个在Thumb代码编写子程序。
      • An event is a subroutine that can be called automatically after a specific operation has occurred.
        事件就是在一个具体操作发生之后自动请求的一个字程序。
      • Figure 2-1 illustrates the control flow of a subroutine before and after installing a call hook.
        图2-1描绘了调用挂钩在安装前和安装后,一个子程序的控制流。