读知识>英语词典>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 end result is, in all cases, a subroutine with a call interface.
        在所有情况下最终的结果都是带有调用接口的子例程。
      • An Event Handler is a subroutine that executes code for a given event.
        事件处理器为一个子程序,它可以为指定的事件执行相应代码。
      • 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.
        如果有一个或多个星号,子程序将继续执行处理来创建正则表达式。
      • The following subroutine displays a message box notifying the user which color they selected.
        下面的子例程显示一个消息框,通知用户他们选择的颜色。
      • The createPipe subroutine is a simple method to create a nonblocking read from a pipe using threads.
        createPipe子例程是从使用线程的管道中进行无阻塞读取的简单方法。
      • If the character completes a function, the editor enables subroutine folding to minimize the text space.
        如果该字符完成了一个函数,编辑器允许函数折叠以最小化文本空间。
      • Based on general software MARC, a user subroutine CRPLAW used for single crystal creep analysis has been developed.
        基于通用有限元软件MARC开发了用于模拟单晶合金材料蠕变性能的用户子程序CRPLAW。
      • The rule set developer has built a subroutine called PartName.
        规则集开发人员构建了一个名为PartName的子例程。
      • This subroutine sorts one or two dimensional arrays.
        这个子程序可以对一维或者二维数组进行排序。