我们的下一个基于列表的递归函数示例要稍微复杂一些。
Our next example of a recursive function on lists will be a little more complicated.
示例定制函数将访问文件信息并在表单中显示结果。
The sample custom function accesses the file information and displays the results in the form.
这由示例中的缩减函数完成,包含缩减阶段。
This is the reduction function in our example and encompasses the reduction phase.
附录B显示了一个自定义函数选择器的示例代码。
Appendix B shows sample code for a custom Function Selector.
清单1所示的前两个函数,是系统调用的简单示例。
The first two functions, shown in Listing 1, are simple examples of a system call.
本示例展示如何对圆的面积创建函数索引。
This example shows how to create a functional index on the area of a circle.
清单2是一个示例php函数。
清单1展示了一个示例构造函数。
如何在适当时调用成员函数的示例?
Examples of how to invoke the member function when appropriate.
第二个示例包含从函数返回的代码。
第四个示例检查用户程序函数的参数。
Fourth Example check the parameters to a user program function.
假设您调用示例1 (b)中的函数。
fgets函数是处理第一个示例的首选武器。
The fgets function is your weapon of choice for this first example.
因此,示例中的这个函数能够与collabform . html页面中的元素交互。
Hence, the function in the example is able to interact with elements on the collabform.html page.
清单8.load函数的示例应用程序。
示例:使用r - Tree访问方法的函数索引。
注意:本文的示例应用程序仅使用file_get _ contents函数。
Note: in the example application in this article, you use the file_get_contents function exclusively.
清单5是一个示例视图函数send_message。
Listing 5 is an example of a view function, named send_message.
onMenuItemCommand 函数使用上一篇文章中的 XUL示例applet启动窗口。
The Stats.onMenuItemCommand function simply launches a window with the XUL example applet from the last article.
group函数是一个异常复杂的函数,所以我在这里只给出一个简短的示例。
The group function is a complex beast, so I only give a brief example here.
在这个示例中,调用本地的printvalue函数。
清单9. postwalk函数的应用示例。
示例:对圆的面积执行函数索引
示例:对图像的平均RG b值执行函数索引。
Example: Functional index on the average RGB values of an image.
在我们的示例中,函数名称为“handle”加上该消息类型。
In our case, the function name is "handle" concatenated with the message type.
在我们的示例中,调用者是get _ rss_feeds函数,该函数我们之前已经介绍过了。
In our case, the caller is get_rss_feeds function, which we discussed previously.
下面的示例演示如何声明和使用此函数。
The following example shows how to declare and use this function.
在第一个示例中,该函数的开始块第一次执行。
IN the first example, the function's BEGIN block executes first.
有关说明和示例,请参见如何:实现回调函数。
For instructions and an example, see How to: Implement Callback Functions.
有关说明和示例,请参见如何:实现回调函数。
For instructions and an example, see How to: Implement Callback Functions.
应用推荐