You need a modicum of programming savvy to create functions, but nothing onerous.
创建函数需要一定的编程经验,但是并不不是很麻烦。
This makes it difficult to create functions in scripts that are designed to be loaded repeatedly, such as custom syntax-highlighting scripts.
这使得很难在需要反复加载的脚本中创建函数,比如自定义的语法突出显示脚本。
The concept of lambda functions is the basis for closures and provides a much-improved way to create functions on the fly vs. the create_function function already in PHP.
lambda函数的概念是闭包的基础,并且提供了一种比PHP中已有的create_function函数改进了很多的动态创建函数的方法。
Before adding implementation code to the resource, create a few classes that provide enough implementation to test the functions.
在向资源添加实现代码前,创建一些新的类来提供足够实现以测试函数。
This means that functions can be parameters to other functions and can also create and return other functions.
这意味着函数可以是其他函数的参数,也可以创建和返回其他函数。
Also note that we could potentially use the form in Listing 8 to create some partially applied functions, requiring only URL and parameters.
还应注意,我们还可以使用清单8中的方式创建一些局部应用的函数,这些函数只需要URL和参数。
File system-manipulation functions: Meant to create regular files, directories, and symbolic links; copy and rename files; and provide for deletion.
文件系统操作函数:用于创建常规文件、目录和符号链接;复制和重命名文件;提供删除功能。
Two short examples illustrate how simple it is to create and invoke user-defined functions that work with XML data.
下面两个简短示例说明创建和调用使用XML数据的用户定义函数是多么容易。
What if PayPal asked its users to create the tools and functions that would make it grow?
如果贝宝请用户创建工具、开发功能,使贝宝发展壮大,结果又会怎样?
The API provides functions to create and end a transaction capture session and to initiate and end capture on a given table for a given capture session.
这个API提供的功能包括创建和结束事务捕捉会话,以及启动和停止给定的捕捉会话对给定的表的捕捉。
We now demonstrate how to create extensions with FCI methods and how to use custom functions in XFDL forms.
现在将演示如何使用 FCI方法来创建扩展,以及如何使用XFDL表单中的定制函数。
It is highly likely that you will need to pass arguments to the server-side functions you create, so let's see how you would adapt one of the functions to accept and use an argument.
将参数传递到您创建的服务器端函数,这是很有可能的,所以,让我们来看看,如何改写一个函数来接受和使用参数。
In this case, you're using some math functions to create a random number from 0 to 100.
在本例中,我们用一些数学函数创建0到100之间的一个随机数。
That makes it easier for hackers to create applications that surreptitiously spy on users or access phone functions without permission.
这就使得黑客能更轻易的通过恶意软件暗中盗取用户信息或使用手机功能。
This step added a Closure around the entire plug-in, effectively allowing you to create private functions and public functions.
该步骤给整个插件画上了句号,有效地创建了私有函数和公共函数。
Part 2 enhanced the solution from Part 1 to include create, update, and delete functions, plus customizations to the generated SDOs with local variable addition and basic transformations.
第 2部分中,我们增强了在 第 1 部分 中开发的解决方案,使之包括创建、更新和删除功能,包括用本地附加的变量及基本的转换来自定义生成SDO。
One of the functions of HXDLG is to create either HTML or XML representations of directory listings.
HXDLG的一项功能就是创建目录列表的HTML或XML表示。
Create user-defined functions to emulate MySQL features.
创建用户定义的函数来模拟MySQL功能。
These functions are used by data.xq to create a massive XML document that is the source document for the digital dashboard.
这些函数被data . xq用来创建一个大型的XML文档,该文档就是这个数字指示板的源文档。
Since a DB2 Connect server is really built on the DB2 UDB database server infrastructure, it too allows customers to create their own functions.
由于DB 2Connect服务器实际上建立在DB 2UDB数据库服务器基础之上,因此它也允许客户创建他们自己的函数。
You can also use Zorba's built-in functions to send E-mail and create PDF documents.
您还可以使用Zorba的内置函数发送电子邮件和创建PD f文档。
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.
在编译完成以后,生成了一个tinylogin . links文件,它随后被makeinstall用来为所有的内编译函数创建指向tinylogin二进制文件的符号连接。
But the real advantage to lambdas is when you create functions on the fly and no variable reference is required. For example.
但是lambdas的真正优势是,在您忙着创建函数时,不需要变量引用。
There are two methods you must use to create your custom functions.
创建定制函数必须使用两个方法。
To create your constructor and destructor, declare two functions, then apply the constructor and destructor function attributes to them.
要创建constructor和destructor函数,则需要声明两个函数,然后对这两个函数应用constructor和destructor函数属性。
The ability to create such lightweight functions combined with the power of the Groovy MOP will enable us to implement some AOP-style magic with very little code.
创建如此轻量级函数的能力结合GroovyMOP的力量,使我们只需极少代码就能实现若干AOP风格的魔术。
File defines the RPG functions to create and destroy a web service interface object, in addition to the web service operations.
rpgleinc文件定义创建和销毁Web服务接口对象的rpg函数,以及Web服务操作。
The next step in data integration is to use XQuery to create a set of helper functions, all of which are located in the utility.xqm XQuery module.
数据集成的下一个步骤就是使用XQuery创建一套帮助函数,它们均位于utility . xqm XQuery模块中。
The construction functions allow you to create a new zipper (that is, a location). The core function for creating new zippers is zipper, which is based on three key functions.
构造函数允许您新建一个zippers(即一个位置)。
In addition to the functions, these databases allow you to create new types and create object hierarchies through the use of table hierarchies.
除了函数,这两种数据库还允许您创建新的类型,以及通过使用表层次结构创建对象层次结构。
应用推荐