Each parameter is specified by calling a client method with the same name and by passing the value to the method as first argument.
通过调用相同名称的客户端以及将值作为第一个参数传递给该方法,来指定每个参数。
It expects an argument named event, takes three actions by calling three utility functions, and then returns Pause as the name of the next state.
它需要一个名为event的参数,通过调用三个实用程序函数来执行三个操作,然后返回Pause作为下一个状态的名称。
That expression is a recursive call to lazy-seq-fibo, but this time, it is calling the two argument case, passing in 0 and 1 to it.
该表达式是对lazy - seq - fibo的一个递归调用,不过这次,它调用的是有两个参数的情况,并向其传递0和1。
The first example illustrates calling a Scheme function from C, passing in an argument, and capturing the return value.
第一个例子演示如何从C调用一个Scheme函数,传入一个参数,并捕获返回值。
For example, the previous article formed a box by creating a square Face object and calling the pushpull method with an argument of -9.
例如,前一篇文章通过创建一个正方形Face对象,并使用参数- 9调用pushpull方法,形成了一个盒状立体图形。
The effects of calling the admin( ) and task( ) functions with the same argument list are equivalent, but their return values, which indicate the result of the operation, have different data types.
用相同的参数列表调用admin( )和task( )函数的效果是相同的,但是它们返回的表示操作结果的值有不同的数据类型。
File to actually pass an argument when calling the remote method. Look for the lines shown in Listing 11.
最后一步是修改first . php文件,当调用remote方法时,可以接受一个参数,寻找清单11中的这一行。
Each declaration is actually calling a method named Value that takes a string argument.
每一个声明实际上都调用了一个名为Value的方法,它接受一个字符串参数。
Instead of calling GCC, you call ccache with GCC as the first argument.
以gcc为第一个参数调用ccache,而不是调用gcc。
Nothing seems likely to stop the upward pay spiral for top executives: not reasoned argument, name-calling, tax and/or regulatory change.
似乎没有什么可以阻止高管薪酬上升的趋势:无论是合理的论证、言语的中伤还是税收和/或监管政策的改变。
If the object argument, SRC, is a simple type, then the second step, serializing the value of the object, is a simple matter of calling the src.toString method and writing that out.
如果对象参数src属于简单类型,那么第二步,序列化对象的值,就很简单,只需调用src .toString方法,然后把它写出来就行了。
Method dispatch starts by calling a static "ClassOf" method with the object as argument.
方法调度通过把对象作为参数,来调用一个名为“ClassOf”的静态方法予以实现。
Note that the last argument to spawn() is a list with only one element, not the single argument that you would use when calling the function directly.
请注意,spawn()的最后一个参数是仅有一个元素的列表,而非在直接调用函数时使用的单一参数。
Calling the sign method with an XPath argument where the digital signature is to be placed in the document helps create an enveloped signature.
调用带有XPath参数的sign方法,并且数字签名放置在文档中,则生成封内签名。
For instance, the option string ab: indicates that the calling program knows two options: -a and -b, and that the next word after -b is a supplemental argument. Here's how the code looks.
例如,选项字符串ab:表示调用程序已知两个选项:- a和-b,- b后的下一个单词是补充参数。
If you pass true as argument, you'll be taken to the record that was just changed back (otherwise, if you're in a TDBGrid, you may not notice any effect of calling the UndoLastChange method).
如果您传递true作为参数,那么系统会把您引到刚刚改回的记录那里(否则,如果是在TDBGrid中,您可能不会注意到调用UndoLastChange方法的效果)。
The function definitions inside a class normally have a peculiar form of argument list, dictated by the calling conventions for methods — again, this is explained later.
类中的函数定义通常包括了一个特殊形式的参数列表,用于方法调用约定——同样我们在后面讨论这些。
Since their argument, she has stopped calling so often.
自上次争吵以来,母亲很少打来电话。
In some cases, the procedure code can change the value underlying an argument in the calling code.
在某些情况下,过程代码可以更改调用代码中作为实参基础的值。
Just as different automobiles can park in a parking space at different times, the calling code can pass a different argument to the same parameter every time that it calls the procedure.
就像一个停车位可以在不同时间停放不同的汽车一样,调用代码在每次调用过程时可以将不同的实参传递给同一个形参。
When a procedure defines an optional parameter, it might be necessary to determine whether or not the calling code has supplied the corresponding argument or omitted it.
当程序定义选择性参数时,可能需要判断呼叫程式码是已经提供对应的引数,还是省略引数。
This permits the procedure to change the value underlying the argument in the calling code.
这能让程序变更呼叫程序码中引数的基础值。
Real-time update is done by calling a subprogram with the statistical trigger code as an argument.
触发器可以设置为实时更新统计结果。系统通过调用带有统计触发器的子程序来执行实时更新动作。
You can specify that a procedure parameter is optional, so that the calling code does not have to supply an argument for it when it calls the procedure.
您可以将程序参数指定为选择性的,以便在程序码呼叫程序时,呼叫程序码不必提供引数给它。
There is always a potential risk in allowing a procedure to change the value underlying an argument in the calling code.
允许过程更改调用代码中实参所代表的值始终存在潜在的风险。
Specifies that an argument is passed in such a way that the called procedure or property cannot change the value of a variable underlying the argument in the calling code.
指定按如下方式传递参数:被调用的过程或属性不能更改调用它的代码中参数下面的变量的值。
In the calling code, do not enclose the argument in parentheses in the argument list.
在调用代码中,不要将实参列表中的实参放在括号内。
The calling code supplied the argument with a value exactly equal to the parameter's default value.
调用代码提供的参数与参数的默认值完全相等。
A procedure cannot detect at run time whether a given argument has been omitted or the calling code has explicitly supplied the default value.
过程在运行时无法检测到给定的参数是否已被省略,或者调用代码是否已显式提供默认值。
A procedure cannot detect at run time whether a given argument has been omitted or the calling code has explicitly supplied the default value.
过程在运行时无法检测到给定的参数是否已被省略,或者调用代码是否已显式提供默认值。
应用推荐