本节将展示给你这些函数的使用方式。
下一行说明map函数的使用。
以下脚本用于研究此函数的使用情况。
Below is the script to investigate the use of this function.
我们将使用这个函数检查源区域的每个部分,从而判断是否有运动。
We will use this function to check every portion of the source area for motion.
对于这个函数,我们再次使用了一个简短的闭包注释。
For the function, we are once again using the shorthand closure notation.
对于本例来说,使用一些基本的SQL函数来分析数据。
For this example, you use some basic SQL functions to analyze the data.
然而,肆无忌惮地使用该函数是非常危险的。
However, it is very dangerous to use this function without care.
而且我们还为传递给此函数的第一个参数使用了 %符号。
We have also used the % symbol for the first parameter passed to the function.
记住这些步骤,我将回顾在这里使用的每个文件函数。
With that in mind, I'll review each file function used here.
通过使用引用,可以告诉函数指向信息的指针。
By using a reference, you tell the function to point to the information.
可以从包的外部使用该函数。
您还需要表示将如何使用成员函数的任何参数。
You also need to indicate how any parameters to a member function will be used.
如果试图使用已经废弃的函数,就会收到警告。
If you attempt to use a deprecated function, you receive a warning.
您将使用此函数设置最高元素的标记。
You'll use this function to set the tag of the highest element.
只是在非常极端的场合才会使用这个函数。
不要使用不带聚合函数的“GROUPBY”子句。
Don't use the GROUP BY clause without an aggregate function.
很有可能您将使用已经构造的函数。
There is a good chance that you'll use functions you've constructed.
而使用提供的函数将更简单。
在任何可行的时机使用函数库。
这里有几个方便使用的观察点api函数(表格1)。
There are several watch point API functions for convenience (Table 1).
这就是我们使用eval函数的原因。
dist:需要使用的距离函数。
然后,您就可以在需要的地方使用date函数了。
不过我们还是可以在它的核心处使用scheduler函数。
最为容易的方式是使用Lisp函数调用、属性或者字段。
The easiest way is to use the Lisp function invoke, property, or field.
匿名的函数可以这样使用。
该回调函数然后使用Array对象的forEach方法。
The callback function then uses the forEach method on the Array object.
使用CPAN时,一个明显的方法是使用autobundle函数。
An obvious route to take when using CPAN is to use the autobundle function.
稍后会看到它在cb _ button_click函数中是如何使用的。
Later, you will see how it's used in the cb_button_click function.
代码最后一行中使用的函数t由Drupal提供。
The function t used in the last line of code is provided by Drupal.
应用推荐