内函数的声明跟在var语句的后面。
默认情况下,它们是由值传递的,意味着如果要更新传递到闭包函数定义内的值,则不更新外部值。
By default, they are passed by value, meaning that if we would update the value passed within the closure function definition, it would not update the outside value.
G:该选项将生成查找表并将其作为静态全局变量,而不是在查找函数内生成以隐藏该表(默认行为)。
G: This option generates the lookup table as a static global variable rather than hiding it by generating it inside the lookup function (the default behavior).
人们也可以预先自定义一些迭代器,在函数的整个作用域内创建并使用。
One could also foresee custom iterators being created and used entirely within the scope of a function.
所有标有可变的寄存器都可以在函数内自由改变。
All of the registers marked volatile can be freely changed within a function.
因此,需要借助DOH来处理浏览器内的小部件测试及异步函数测试。
So, enter the DOH and its facility for handling widget testing in browsers as well as synchronous function testing.
xmlagg函数使用ORDERBY子句对组内元素进行排序。
XMLAGG functions use the ORDER BY clause to sort the elements within the group.
不过,还是建议捕获完整的ffmpeg语法以便用在脚本或其他的批处理函数内。
However, you may want to capture the full FFmpeg syntax for use in scripts or other batch functions.
在编译完成以后,生成了一个tinylogin . links文件,它随后被makeinstall用来为所有的内编译函数创建指向tinylogin二进制文件的符号连接。
After the build is complete, a tinylogin.links file is generated, which is then used by make install to create symlinks to the tinylogin binary for all compiled-in functions.
首先用清单21中的代码代替用来创建Student控制器的listing函数内的Edit选项的那些代码。
Begin by replacing the code that creates the Edit option in the Student controller listing function with the code from listing 21.
每个consumer的工作均封装在一个或多个php函数内。
The work of each consumer is encapsulated in one or more PHP functions.
通过添加和删除btnActiveCSS类还突出了这些函数内的活动按钮,这可以将边界颜色更改为白色。
You also highlight the active button in these functions by adding and removing the btnActive CSS class, which changes the border color to white.
在req.onreadystatechange 内指定的回调函数在服务器响应请求的时候调用。
The callback function specified in req.onreadystatechange is invoked when the server responds to the request.
在mysql _ query函数内,实际执行在前一行所定义的查询。
In the mysql_query function, you actually execute the query defined in the previous line.
此标记在加载过程的早期加载,但它在body内的onload函数调用之后才会执行。
This tag is loaded early in the loading process, but it won't be executed until the body onload function is called.
round_rect函数将在焦点内和焦点外显示效果中提供高亮显示。
The round_rect function will provide the highlighting in both the in-focus and out-of-focus visualizations.
在上述Fibonacci样例中,在另一个进程内运行printfibo函数不会得到有用的返回值。
In the Fibonacci sample given above, running the printfibo function in another process produced no useful return value.
由于tally是函数内的本地变量,它将在每次调用时重新创建并清空范围,并且在每个调用被返回时自动销毁。
Because tally is a local variable within the function, it is created anew with each call and falls out of scope and is destroyed automatically when each call returns.
PHP引擎装入php页面,执行该页面内所有的php函数,然后将生成的HTML返回给Web服务器。
The PHP engine loads the PHP page, executes any PHP functions within the page, then returns the resulting HTML to the Web server.
在Processing内使用单个函数绘制形状十分简单。
It's also simple to draw shapes within Processing using single functions.
它可以检查作用范围内的更多种函数,不论是否在use - when属性中使用。
It has expanded in a sense that it can detect a greater variety of in-scope functions, whether used within a use-when attribute or not.
请注意insert和delete动作的at属性内index函数的使用。
Notice the use of the index function within the at attribute of the insert and delete actions.
它只在构造函数内提前读取一次名称空间。
It reads the namespaces only one time in advance in the constructor.
可以在全局范围以及在名称空间、函数体或类声明内使用静态断言。
You can use static assertions in global scope and inside namespaces, function bodies, or class declarations.
它接受单个参数:一个函数,并将此函数应用于数组内的每个元素。
It takes a single parameter, a function, and applies the function to each element in the array.
这意味着您必须将任何依赖代码放在回调函数内,或者放在由回调函数调用的函数内。
This means that you must put any dependent code inside the callback function, or inside functions that are called by the callback function.
带有函数参数,参数传递必须在堆栈范围内进行。
With function arguments, the parameters passed must be in stack scope.
在该回调函数内,可能处理返回的数据。
Within the callback function, the returned data can be processed.
在这种情况下使用闭包与在类外部使用闭包实现的目的相同:包含在小范围内绑定的特定函数。
Using closures serves the same purpose in this situation as it would outside of a class: to contain a specific function to be bound within a small scope.
可以将此处理程序部分内的信息绑定到UI内的变量,并将处理程序函数与在此UI内发生的其他事件关联起来。
You bind information in the handler part to variables within the UI, and associate handler functions with events that occur in the UI.
应用推荐