火范文>英语词典>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

      双语例句

      • A named process, such as a subroutine or a module.
        一个特定进程,如子例程或模块。
      • This example declares a subroutine called square that squares the number and returns it.
        该例声明一个名为square的子例程,计算某个数字的平方数并返回该数字。
      • Call: A programming instruction that invokes a subroutine.
        调用:是程式设计的指令;用它召唤子例行程式。
      • The first subroutine call in the alg_N_Word function is to createRegexp.
        algNWord函数中的第一个子程序调用是指向createRegexp的。
      • The createPipe subroutine is a simple method to create a nonblocking read from a pipe using threads.
        createPipe子例程是从使用线程的管道中进行无阻塞读取的简单方法。
      • The following subroutine displays a message box notifying the user which color they selected.
        下面的子例程显示一个消息框,通知用户他们选择的颜色。
      • 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键后,子例程将退出。
      • An Event Handler is a subroutine that executes code for a given event.
        事件处理器为一个子程序,它可以为指定的事件执行相应代码。
      • The constitutes and using methods of subroutine and macroinstruction during NC milling are stated.
        阐述了数控铣削中子程序、宏指令的构成和调用方法。