The return value of any function is the result of the last expression in that clause (in our examples there is only one line).
任何函数的返回值都是子句(在我们的示例中只有一行)中最后一个表达式的结果。
In addition, the template adds simple logging to each function by printing out to the command line the name of the function called.
此外,所调用的函数的名称将输出到命令行,通过这种方式,模板即可为各函数添加简单的日志。
For example, in our applications, the standard error message will be displayed in the message line, just above the function key line in the lower part of screen.
例如,在我们的应用程序中,标准错误信息将显示在消息行中,正好在屏幕下部的功能键显示区之上。
That is, if a function has a certain set or range of valid values for its arguments, an assertion to this effect can be placed as the first line of code in the function.
那就是说,如果函数有确定的有效值集合或范围可作为参数,可以将检验参数是否有效的断言放在该函数代码的第一行。
Get in the habit of remembering to add that extra character whenever you use the line limit on this function.
应养成以下习惯:只要对此函数使用行限制,就添加该额外字符。
The last line in this function refreshes the table.
该函数的最后一行代码刷新表。
The first line calls the function in Listing 4 when the page loads.
第一行在页面加载时调用清单4 中的函数。
For each line in the line buffer for a CU, check for the low address match to find the first line number for the function.
要获得CU的行缓冲的每一行,则需要检查低位地址匹配以找到函数的第一行的行号。
It has been omitted in Listing 2, so the last line of the function will be returned.
清单2忽略了这个关键字,因此函数的最后一行将被返回。
In the default Settings or Application Settings,.net has choices for line and function modes.
在默认设置或Application设置中,. NET拥有对行和函数模式的选择。
To see what's going on in main() we can set a breakpoint at a particular line or on a function in the program code so gdb will interrupt execution when it is reached.
为了查看在main()中发生了什么情况,可以在程序代码中的某一特定行或函数中设置断点,这样gdb会在遇到断点时中断执行。
In the case of the call command, specifying a range causes the requested function to be called repeatedly: once for each line in the range.
对于call命令,指定范围将致使所请求的函数被反复调用:对范围中的每一行调用一次。
In the mysql_query function, you actually execute the query defined in the previous line.
在mysql _ query函数内,实际执行在前一行所定义的查询。
An iso-quanta is a line in space formed by points with the same objective function value.
iso - quanta是由具有相同目标函数值的点所构成的空间中的一条线。
Notice, in line 60, the XPath expression as argument of SUM function.
注意第60行中作为SUM函数参数的XPath表达式。
The last line of the script block uses the dojo.addOnLoad function to invoke a function (in this case the init function) when the web page finishes loading.
在web页面完成加载时,脚本块的最后一行使用dojo.addOnLoad函数来调用函数(在本例中是init 函数)。
The line xdebug.show_local_vars = 1 prints all local variables in the outermost scope of each function call, including variables not yet initialized.
代码行 xdebug.show_local_vars =1将打印每个函数调用的最外围中的所有局部变量,包括尚未初始化的变量。
After the data structures, state variables, and function definitions are in place, add the load_shadow_dynamics function at line 3163.
在数据结构、状态变量和函数定义就绪后,请在第3163行中添加load_shadow_dynamics函数。
The only difference is that the DeAmperfy() function would be called repeatedly: once for each line the Vip highlighted in Visual mode.
惟一的不同之处在于 DeAmperfy()函数将被反复调用:针对Visual模式下Vip中突出显示的每一行调用一次。
The function t used in the last line of code is provided by Drupal.
代码最后一行中使用的函数t由Drupal提供。
The last parameter is the variable that you declared in line 1 of the function that defines the options for your LiveGrid, in Listing 5.
最后一个参数是清单5中函数的第1行定义的变量,该变量定义用于LiveGrid的选项。
The first thing that we do is determine which of the columns is selected by calling the widget function of the SelectionEvent (line 24 in listing 3).
我们做的第一件事是调用SelectionEvent的widget函数来确定选定了哪一列(清单3中的第24行)。
then the function would be called once for each line in the range (in this case, for every line in the file).
那么将针对范围内的每一行调用一次函数(在本例中,指的是文件中的每一行)。
The first line in the loadGrid function specifies the options for the LiveGrid.
loadGrid函数中的第一行指定LiveGrid的选项。
The initialize_vertices function needs to be called in the main program, so add the function call in the main subroutine at line 597.
需要在主程序中调用initialize_vertices函数,因此把函数调用添加到位于第597行的main子程序中。
Finally, if the range covers more than a single line (in other words, if a:lastline > a:firstline), the function reports how many lines were updated.
最后,如果范围涵盖了多个行(即a:lastline > a:firstline),函数将报告被更新的行的数量。
The first line specifies that customer names and output from the XMLQuery function will be included in the result set.
第一行指定结果集中将包括客户姓名和XMLQuery函数的输出。
In the previous example we set a breakpoint at line 21 because we were interested in when "value" equaled "div" before the wib function was called.
由于我们想要知道在调用wib函数之前“value ”什么时候等于“div ”,因此在上一示例中我们在第21行中设置断点。
So, I now have this unit test program unit test stock I originally did not make it a function, I had it in-line, and I realized that was really stupid, because I wanted to do it a lot of times.
现在,我有一个叫做单元测试股票,的测试程序,called,unit,test,stock。,我一开始没把它当成函数,我写了几行小代码。后来我发现我太笨了,因为我会用上很多次这段语句。
Since all the logic is now in the text_line PostScript function, the line template itself is trivial-each element translates directly into a call to the text_line PostScript function.
由于所有的逻辑现在都在text_linePostScript函数中,因此line模板本身变得微不足道—每个元素都直接转换为对text_line PostScript函数的调用。
应用推荐