Translation of func from English into Chinese
Abbreviation
abr: function
- This func adds two numbers.这个功能将两个数字相加。
Synonyms and analogies of func in English
Examples of func in a sentence
Check the func for errors.
Translations of "func" in Context ordered by category and frequency
There are two special things about the name func, that are the reasons for it
关于名字 func 有两个特殊的地方,这就是添加它的原因:
That's normal, because the time taken by func's execution "consumes" a part of the interval.
这也是无可厚非,因为 func 的执行时间抵消掉了一部分间隔时间。
func: Examples and translations in context
This schedules the execution of func as soon as possible. But scheduler will invoke it only after the current code is complete.
这样调度可以让 func 尽快执行,但是只有在当前代码执行完后,调度器才会对其进行调用。
The func named argument specified the function name of the foreign call. This argument is required.
func 名参数生命外部调用的函数名。这个参数是必须的。
Did we achieve anything here? What's the purpose of that additional "func" name?
我们这里得到了什么吗?为它添加一个 "func" 名字的目的是什么?
First let's note, that we still have a Function Expression. Adding the name "func" after function did not make it a Function Declaration, because it is still created as a part of an assignment expression.
首先请注意,它仍然是一个函数表达式。在 function 后面加一个名字 "func" 没有使它成为一个函数声明,因为它仍然是作为赋值表达式中的一部分被创建的。
use a Func delegate, as shown in the following example.
使用 Func 委托,如下面的示例所示。
In the script editor, the auto-completion list now contains user-defined Func and Proc items from included files.
脚本编辑器中,自动完成列表现在包含了被包含文件中的用户定义的Func和Proc项目。
Binding format is very easy. Just replace the former parameter values with an object with the func property. As for the contents of func, there are several types, which are as follows
绑定的格式很简单,只需将以前的参数值用一个带func属性的对象替换即可,func的内容有以下几种类型:
Similar to the previous example, func() is associated with f. Once called, func() is executed accordingly. While Boost.Function is limited to these scenarios, Boost.Signals offers far more variety such as associating multiple functions with a particular signal as shown in the following example.
和前一个例子相类似,func() 被关联至 f。 当 f 被调用时,就会相应地执行 func()。 Boost.Function 仅限于这种情形下适用,而 Boost.Signals 则提供了多得多的方式,如关联多个函数至单个特定信号,示例如下。
See also: