Why was it worth creating a function to do this? Pardon?
创建一个函数来做这个工作又有,什么意义呢?对不起我没听清?
Next, write a function to display the posts in the blog.
接下来,编写一个函数显示blog中的这些post。
Fcomments, a function to return all comments, keyed by image id.
根据照片ID返回所有评论的函数。
A function to update the detail form with the read data set is called.
调用用读取的数据集更新明细表的函数。
So I've got a function to maximize and a constraint that must be obeyed.
一个需要得到最大值的函数,和一个需要遵守的约束条件。
Finally, update the MStudent model with a function to delete the record.
最后,用一个函数更新MStudent模型来删除此记录。
Define a function to handle the event; specifically, implement these tasks.
定义一个函数以处理事件;特别是,要实现以下任务。
Next, you use jQuery to add a function to each of your new image "buttons."
接下来,使用jQuery向每个新图像“按钮”添加一个函数。
The idea is to write a function to minimize calls to it from other code.
编写函数时的主要思想是,尽量减少从其它代码对其的调用。
As an example, this is a function to return both parts of an integer division.
作为例子,这个函数将返回整数除法的两个部分。
Returning a pointer to static data may cause a function to be non-reentrant.
返回指向静态数据的指针可能会导致函数不可重入。
In God's kingdom, you have a place, a purpose, a role, and a function to fulfill.
在神的国度里,你有你的份、使命、角色和功能。
You might craft a function to change the prompt to a different color on each host.
可以创建根据主机改变提示符颜色的函数。
You pass in a function to both of them; the function is called when something happens.
您传入一个函数给这两者,当有事发生时调用此函数。
The code shown in listing 4 USES just such a function to adjust the column widths.
清单4中的代码就使用这个函数调整列宽。
A function to provide a button to send information to the content list widget as input.
提供一个按钮,将信息发送到内容列表小部件作为输入。
The most important of these is map, which applies a function to every element of a list.
其中最重要的是map,它将某个函数应用到列表中的每个元素。
First, create a logging environment, then create a function to store messages, as in Listing 1.
首先,创建一个日志环境,然后创建一个函数来存储这些消息,如清单1所示。
By comparison, Net.Data requires a function to be created using the DTW_SQL language environment.
通过比较,Net . Data要求使用DTW _ SQL语言环境创建函数。
Functional expressions apply a function to one or more input arguments to create a new expression.
函数表达式将一个函数应用到一个或多个输入参数以创建新的表达式。
The first argument is the URL, and the second is a function to invoke when the call is completed.
第一个参数是URL,第二个参数是一个函数,将在完成调用后调用。
The third argument, also optional, is a function to execute if the Ajax function returns successfully.
第三个参数也是可选的,是Ajax函数成功返回时所要执行的函数。
Then you need to add a function to the Student controller (Listing 6) to be able see the HTML form.
然后,需要向Student控制器(清单6)添加一个函数,以便能够看到这个HTML表单。
Coding a function to create an empty database is a good example of a small, single-function routine.
编写创建空数据库的函数是演示小型单一功能例程的好例子。
Next, add a function to the Student controller called edit , which is where the edit option is pointing.
接下来,向Student控制器添加一个函数,称为edit,这也是edit选项所指向的位置。
It then calls the jQuery blur method, which binds a function to the onblur event for the username field.
随后调用jQueryblur方法,后者将一个函数绑定到用户名字段的onblur事件。
Both versions take a function to apply at each node that returns a replacement node (or the original node).
两个版本均在各节点应用一个函数来返回替换的节点(或原始节点)。
The privileges view in this designer allows you to assign privileges on a function to a user or a role.
设计程序的privileges视图允许您为某个用户或角色分配函数权限。
If you submit the form, you'll get an error because you haven't created a function to receive the form's post.
如果提交此表单,就会得到一个错误,因为我们尚未创建一个函数来接收此表单的发布。
You have just one more thing to do: add a function to load the successful JSON request and populate the hotels.
您只需做一件事:添加一个函数,以便装载成功的JSON请求,并填充hotels。
应用推荐