函数:现在可以自定义函数。
在触发器或用户定义函数中调用联邦过程。
The federated procedure is called in a trigger or a user-defined function.
函数模板就像是用户定义函数的一个扩展。
A function template is like an extension to a user-defined function.
实现自定义函数选择器。
自定义函数列表长度的方案吗?
双击要打开的用户定义函数的名称。
Double-click the name of the user-defined function you want to open.
因此,为了使用map,您必须知道如何定义函数。
Therefore, in order to use map, you have to know how to define functions.
利用function关键字来定义函数。
创建一个自定义函数。
然后,您可以定义函数来处理成功和失败响应。
You then define functions to handle a successful response and a failure.
首先,还是定义并测试一个简单的自定义函数。
First, you'll define a simple custom function and test it, as well. Open the main.lisp.
它们是新数据类型ROW和用户定义函数(UDF)。
They are the new data type ROW and the user-defined functions (UDFs).
附录B显示了一个自定义函数选择器的示例代码。
Appendix B shows sample code for a custom Function Selector.
但是,您可以在一个函数中定义一个类,类定义函数。
You can, however, define a class within a function, and define functions in that class.
为了使用自定义函数选择器,请对.import或.export文件进行相应的编辑。
To use a custom Function Selector, edit the.import or the.export file.
您所做的就是为每个方法定义一个函数。
我们可以在同一个代码块中定义回调函数,但是使用一个名称。
We could define the callback function in the same code block, but with a name.
分号是每个函数定义之间的“或”操作符。
The semicolon is an or operator between each function definition.
接下来,在第209行中添加这些函数定义。
我们可以在代码中的其他位置定义回调函数,因此我们知道它可用。
We could define the callback function somewhere else in the code so we know it's available.
那如果我们需要使用定义在嵌套函数外面的变量呢?
What if we need to use a variable that is defined outside a nested function.
如果没有指定,函数将在定义它的闭包中运行。
A function will run in the closure that defines it unless otherwise specified.
然后脚本定义回调函数。
定义回调函数,以处理通信状态和响应数据。
Define a call-back function to process the communication states and the response data.
冒号(:)字符分隔开了目标函数及其定义。
The colon (:) character separates the name of the objective function and its definition.
我们在底端定义那个函数。
你可能会得到,一个没有明确定义的势函数。
在这个请求中,还定义回调函数。
As a part of the request, the callback function is also defined.
为定制函数定义惟一的ID。
通过定义新的函数,您可以向表添加新的列。
You can add a new column to the table by defining a new function.
应用推荐