我看字典>英语词典>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 call subroutine is used for this sentence.
        这个语句是用来调用子程序。
      • This article uses an example of standardizing part names using the part name subroutine for a manufacturing company.
        本文使用一个标准化部件名称的示例,使用一家制造公司的部件名称子程序。
      • This example first switches to Thumb state, then calls a subroutine that was written in Thumb code.
        本示例首先切换到Thumb状态,然后调用一个在Thumb代码编写子程序。
      • A brake system model subroutine was developed and embedded in ADAMS.
        开发了独立的制动模型子程序,并在ADAMS软件中进行应用。
      • If one or more asterisks are present, the subroutine will continue its processing to create the regular expressions.
        如果有一个或多个星号,子程序将继续执行处理来创建正则表达式。
      • Furthermore, all the data you access in such a subroutine must also be in nonpaged memory.
        另外,在这样一个子程序中你访问的所有数据也必须在不可分页内存中。
      • An Event Handler is a subroutine that executes code for a given event.
        事件处理器为一个子程序,它可以为指定的事件执行相应代码。
      • When the Enter key is pressed, the subroutine exits if at least one character has been entered.
        如果至少已输入了一个字符,则在按下Enter键后,子例程将退出。
      • To call a subroutine to terminate the reading from or writing to a file by a program.
        调用一个子程序来终止程序对一个文件的读出或写入。