subroutine
n. [计] 子程序
2026-03-22 12:21 浏览次数 18
n. [计] 子程序
subroutine tape子程序带
dynamic subroutine动态子程序
arithmetic subroutine[计]
common subroutine[计]
generalized subroutine通用子程序
parametric subroutine参数次例程
insert subroutine插入子程序
subprogram[计] 子程序;次程序;[计] 辅程序
USER SUBROUTINE用户子程序
interruption subroutine[计]
the next step is to exit the subroutine if no matches are found or reset the current tone and time records if a match is made.
下一步,如果未找到匹配,就退出子例程;或者如果找到匹配,就重设当前音调和时间记录。
in the next state, the script will run a subroutine associated with the event to check the answer and display the next multiple question.
在这个状态下代码会在事件发生的同时运行一个子程序来检查答案并显示下一道问题。
this article uses an example of standardizing part names using the part name subroutine for a manufacturing company.
本文使用一个标準化部件名称的示例,使用一家制造公司的部件名称子程序。
this subroutine simply opens the file, reads the current accelerometer data, closes the file, and returns the data without the , (comma) characters.
这个子程序将打开一个文件,从中读取当前的加速器数据,然后关闭文件,并返回不包含 「,(逗号)」字符的数据。
if this program is carried out serially, it could be viewed as a chain of subroutine calls, evaluated one after another.
如果这样一个程序以串行方式执行,就可以把它看作一个子过程的调用链,一个接一个的进行求值。
to delete all related appointments, the author will need to delete each one individually, or include a subroutine to automatically remove related events.
为了删除所有相关的约会,作者需要逐个地删除每个约会,或者添加一个子例程来自动删除相关的事件。
even if code can「t be placed on the stack, an attacker could use a buffer overflow to make a program 「return」 to an existing subroutine (such as a routine in the c library) and create an attack.
即使不能将代码放到堆栈上,攻击者也可以利用缓沖区溢出来使程序「返回」某个现有的子例程(比如c库中的某个子例程),从而进行攻击。
quite simply, the method sets a specific subroutine to render the markup for the current request.
该方法会设置特定的子例程来呈现当前请求的标记,非常简单。
note that the validate subroutine is much more limited than the action subroutines (described in the next section).
validate子例程要比action子例程(将在下一节中描述)受到更多的限制。
if you believe that a certain variable should have a specific value when a subroutine is called, check it.
如果您确信在子例程被调用时某变量应该有特定的值,那么就检查一下情况是否如此。
the end() subroutine executes when the script terminates and ensures that a dbi error message about not explicitly disconnecting from the database doesn」t occur.
当脚本终止并且确保没有出现关于数据库未显式分离的dbi错误消息时,end()子例程就会执行。
after escaping the 「.」 character, the subroutine will return an otherwise unmodified string if there were no asterisks found.
在转义了「.」字符后,如果未找到星号,子程序则会返回一个未修改的字符串。
if one or more asterisks are present, the subroutine will continue its processing to create the regular expressions.
如果有一个或多个星号,子程序将继续执行处理来创建正则表达式。
let「s take a look at the subroutine and describe how it works.
让我们来看一看这个子程序并了解一下其工作原理。
when it becomes 12:59:59. the code triggers a subroutine that quickly runs the hands (or arcs) backward and resets the time to 1:00 - which is always fun to wait for and watch.
当时间到达12:59:59时,代码触发子程序,快速的将指针(或者弧形表盘)倒退并将时间重置到1:00——等着看这一幕总是那么的有趣。
typically they need to sniff the input (reading the first few lines) to decide on the subroutine to call based on the vocabulary.
这类应用程序通常需要嗅探输入(读入前几行)以根据词汇表决定调用子例程。
the end result is, in all cases, a subroutine with a call interface.
在所有情况下最终的结果都是带有调用接口的子例程。
we」ve already seen how to use an anonymous subroutine or a reference to a named subroutine.
我们已经看到如何使用匿名的子例程或者对指定子例程的引用。
at this level a program becomes multiple instances of a service subroutine callable in parallel by a client through some grid middleware.
这个级别上的应用程序已经变成服务子例程的多个实例,可由客户机通过某种网格中间件并行调用。
listing 3 shows the variable declaration and subroutine calls from the program header.
清单3显示了程序头文件中的变量声明和子例程调用。
with the base variable declarations and subroutine complete, the program moves on to the main program loop, shown below.
完成了基本变量声明和子例程后,程序将继续进行主程序循环,如下所示。
a subroutine is a part of a program that can be re-used, just like movable type.
子程序是在一段程序中可以被重用的部分,就像活字那样。