字典APP>英语词典>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

      双语例句

      • This example declares a subroutine called square that squares the number and returns it.
        该例声明一个名为square的子例程,计算某个数字的平方数并返回该数字。
      • The rule set developer has built a subroutine called PartName.
        规则集开发人员构建了一个名为PartName的子例程。
      • An event is a subroutine that can be called automatically after a specific operation has occurred.
        事件就是在一个具体操作发生之后自动请求的一个字程序。
      • As a separate function, and merely called it from inside the anonymous subroutine.
        设计为一个单独的函数,而只是在匿名子例程中去调用它。
      • Functional maps provide reusable code that can be called like a subroutine from within one or more map rules.
        功能性映射提供可重用的代码,可以在一个或多个映射规则中像子例程一样调用它们。
      • If the character completes a function, the editor enables subroutine folding to minimize the text space.
        如果该字符完成了一个函数,编辑器允许函数折叠以最小化文本空间。
      • The first subroutine call in the alg_N_Word function is to createRegexp.
        algNWord函数中的第一个子程序调用是指向createRegexp的。
      • Move the statement into a procedure or subroutine.
        将该语句移动到过程或子例程中。
      • This example first switches to Thumb state, then calls a subroutine that was written in Thumb code.
        本示例首先切换到Thumb状态,然后调用一个在Thumb代码编写子程序。
      • Create an Exit command under the File menu, with a subroutine to exit the script.
        使用一个退出脚本的子例程,在File菜单下创建一个Exit命令。