The function definition takes one input parameter.
函数定义接受一个输入参数。
Listing 27. Alternate function definition within bash.
清单27.bash中的另一种函数定义。
Find the line that contains the undecorated function definition in the resulting listing.
在结果清单中找出包含未装饰函式定义的那一行。
You can do this by using two input parameters in the function definition, as shown in Listing 3.
在函数定义中使用两个输入参数即可实现这一功能,如清单3所示。
A string that appears at the top of a function definition to document the function's interface.
文档字符串:一个在函数定义的顶部的字符串,讲解函数的交互界面。
Closures are functions that reference variables from the scope enclosing the function definition.
闭包本质上是一个函数和其引用的变量的统一定义。
Templates let us write a single class or function definition that can be used on a variety of types.
使用模板可以编写一个类定义或函数定义,而用于多个不同的数据类型。
Therefore, the header file should include the prototype of the function and also a dummy function definition.
因此,头文件应该包含函数的原型和一个虚拟的函数定义。
This method of function definition is ideal when the arguments and function result will always be strings.
当函数的参数和结果总是字符串时,该函数定义方法是一个理想方法。
The first line of a function definition, also known as the method signature, begins with def (shorthand for define).
函数定义的第一行也称为方法签名(method signature),以def开头(def是define这个单词的缩写)。
A decorated name is a string created by the compiler during compilation of the function definition or prototype.
修饰名是在编译函数定义或函数原型期间由编译器创建的字符串。
The function definition does not execute the function body; this gets executed only when the function is called.
函数定义不执行函数体,它们仅仅在调用时执行。
A value created by a function definition. The name of the function is a variable that refers to a function object.
函数对象:由函数定义所创建的值,函数名字指代了这一函数对象。
Variables to be imported from the outside environment are specified in the use clause of the closure function definition.
从外部环境中导入的变量是在闭包函数定义的use子句中指定的。
Function definition section: the function definition section allows you to define the following function attributes for ids.
Function definition区段:函数定义区段允许您为IDS定义以下函数属性。
If you specify annotations on the function declaration then you do not have to specify them on the function definition.
如果在函式宣告上指定附注,就不需要在函式定义上指定。
The statements inside the function do not run until the function is called, and the function definition generates no output.
函数定义中的语句直到函数被调用的时候才会运行,函数的定义本身不会有任何输出。
We give the commutative of compound function definition and prove the existence of common fixed points of a function sequence.
本文定义了两个函数复合可交换的概念,并证明了函数列存在公共不动点。
Describes the concept of type annotation and how to use it in a function definition to control the input and output data types.
描述类型批注的概念,以及如何在函数定义中使用它来控制输入和输出数据类型。
In the function invocation, the order of parameters passed in corresponds to the the order of XSL: params in the function definition.
函数调用中传递的参数顺序与函数定义中xsl:param的顺序对应。
Known as lambda calculus, it was designed to investigate the function definition and application, as well as the concept of recursion.
它被称为lambda演算,用于研究函数定义与应用程序以及递归概念。
You can get the decorated form of a function name after you compile the source file that contains the function definition or prototype.
您可以在编译包含函式定义或原型的原始程序档后,取得函式名称的装饰形式。
The link step resolves interfile dependencies, such as linking a function call in one file to a function definition contained in a second file.
链接步骤解决了文件间的依赖,如将一个文件中的函数调用链接到另一个文件中的函数定义。
Scala regards a method with the equals sign before the body as a function definition and a function always returns a value in functional programming.
Scala把主体之前的部分包含等于号作为函数定义,而一个函数在函数式编程中永远都有返回值。
The two formulations of the initial function definition are compared and the relation between section function and initial function is discussed.
将初等函数定义的两种提法进行比较,对分段函数与初等函数与初等函数的关系进行了探讨。
As you might expect, you have to create a function before you can run it. In other words, the function definition has to run before the function gets called.
如你所愿了,你可以建立一个函数,然后运行一下试试了。换种说法就是,在调用之前一定要先把函数定义好。
By default, they are passed by value, meaning that if we would update the value passed within the closure function definition, it would not update the outside value.
默认情况下,它们是由值传递的,意味着如果要更新传递到闭包函数定义内的值,则不更新外部值。
In the chapter II, according to pre-union catalog program and analyzing new Internet program structure, it targets function definition and professional procedures;
第二章,结合原来的联机编目系统对新的系统的组成结构、功能和流程进行详细分析;
A function definition specifies four elements: the return type, the function name, a (possibly empty) parameter list enclosed in parentheses, and the function body.
定义函数必须指定4个元素:返回类型、函数名、圆括号内的形参表(可能为空)和函数体。
It is not necessary that the function definition is textually enclosed in the class definition: assigning a function object to a local variable in the class is also ok.
不是必须要将函数定义代码写进类定义中,也可以将一个函数对象赋给类中的一个变量。
应用推荐