The function definition takes one input parameter.
函数定义接受一个输入参数。
Listing 27. Alternate function definition within bash.
清单27.bash中的另一种函数定义。
You can do this by using two input parameters in the function definition, as shown in Listing 3.
在函数定义中使用两个输入参数即可实现这一功能,如清单3所示。
Closures are functions that reference variables from the scope enclosing the function definition.
闭包本质上是一个函数和其引用的变量的统一定义。
Therefore, the header file should include the prototype of the function and also a dummy function definition.
因此,头文件应该包含函数的原型和一个虚拟的函数定义。
Templates let us write a single class or function definition that can be used on a variety of types.
使用模板可以编写一个类定义或函数定义,而用于多个不同的数据类型。
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定义以下函数属性。
The statements inside the function do not run until the function is called, and the function definition generates no output.
函数定义中的语句直到函数被调用的时候才会运行,函数的定义本身不会有任何输出。
Describes the concept of type annotation and how to use it in a function definition to control the input and output data types.
描述类型批注的概念,以及如何在函数定义中使用它来控制输入和输出数据类型。
A class function definition has the same name as a virtual function in a base class but not the same number or type of arguments.
类函数定义与基类中的虚函数同名,但参数的数目或类型不同。
The link step resolves interfile dependencies, such as linking a function call in one file to a function definition contained in a second file.
链接步骤解决了文件间的依赖,如将一个文件中的函数调用链接到另一个文件中的函数定义。
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.
不是必须要将函数定义代码写进类定义中,也可以将一个函数对象赋给类中的一个变量。
OUTPUT: Data types of result returned from this 4GL function; must have one-to-one correspondence from left to right, and must match the count of arguments, as in the function definition.
OUTPUT:这个4GL函数返回的结果的数据类型;必须从左到右与函数定义中的输出参数一一对应,还必须与输出参数数量匹配。
Input: Data types of the input arguments to this 4gl function; must have one-to-one correspondence from left to right, and must match the count of arguments, as in the function definition.
INPUT:这个4gl函数的输入参数的数据类型;必须从左到右与函数定义中的输入参数一一对应,还必须与输入参数数量匹配。
It sets forth emphatically the concept, function definition, general frame and the technique routine of the system, as well as the basic functions of the prototype system to be established.
阐述了防洪智能应急响应系统的概念及功能定义,总体框架结构,系统实现的技术路线,以及项目所建立原型系统的基本功能。
This paper studies the system frame, function definition, analysis method, system construction and system operation of the macro trend monitoring system of technology innovation in enterprise.
本文就企业技术创新宏观态势监测系统的系统框架、功能定位、分析方法和系统建设与运行进行了研究。
If a default argument is provided in the parameter list of a function definition, the default argument is available only for function calls in the source file that contains the function definition.
如果在函数定义的形参表中提供默认实参,那么只有在包含该函数定义的源文件中调用该函数时,默认实参才是有效的。
If a default argument is provided in the parameter list of a function definition, the default argument is available only for function calls in the source file that contains the function definition.
如果在函数定义的形参表中提供默认实参,那么只有在包含该函数定义的源文件中调用该函数时,默认实参才是有效的。
应用推荐