该函数没有返回值。
Accept arguments and return a value.
接受多个参数返回一个值。
If omitted, the function does not return a value.
从当前函数退出,并从该函数返回一个值。
Notice that the username_taken method does not return a value.
注意,username_taken方法并没有返回值。
The code can do any necessary processing and optionally return a value.
代码可以完成任何必需的处理,并且可以可选地返回一个值。
They must be private, cannot return a value, and cannot have out parameters.
它们必须是私有的,不能返回值,不能有输出参数。
You can invoke methods that return a value in the EGL Resources API as follows.
您可以在如下的EGLResourcesAPI中调用返回一个特定值的方法。
Here the term UDR is used generically to refer to functions that return a value.
这里的udr一词通常用来指代返回值的函数。
Other functions, like print_twice, perform an action but don't return a value.
其他的函数,比如print_twice,都是进行一些操作,但不返回值。
A method with a side effect can return a value but also changes the program's state.
有副作用的方法可能返回一个值,但同时也修改了应用程序的状态。
And then the only other difference is obviously, it's a function I need to return a value.
然后还剩下一点明显的区别,对于方法我要有返回值。
It will simply return a value of 0 as the key to the trade order without changing the database.
它只是返回一个值0作为交易订单的键,而不会更改数据库。
As a result, for Sybase Version 12.0 data source, you cannot return a value of an output parameter.
因此,对于Sybase 12.0版数据源,不能返回输出参数的值。
And you don't need a comment before the return statement saying, "Now we return a value," either.
同样,在返回语句之前也不需要使用类似“Nowwereturn a value”这样的注释。
These Value methods return a Value object and they add the value to the enumeration’s collection of values.
这些Value方法返回一个Value对象,它们会把这些值加到枚举值的集合中去。
The adapter method can report the error in detail and return a value indicating that the error was handled.
这个配接器方法可以报告错误的详细资料,并会传回表示错误已经处理的值。
Note that we specify HANDLESNULLS so that IDS allows our function to return a value when the column value is NULL.
注意,我们指定了HANDLESNULLS,因此,当列值为NULL时,IDS将允许函数返回一个值。
The function can also return a value (or, more formally, an object), including a Python container like a tuple.
函数还可返回值(更为正式的说法是:对象),包括像tuple这样的python容器。
This can be a pain at first — some programmers don't realize that printf and many other functions actually return a value.
起初,这可能是一个痛苦的问题——有些程序员并没有认识到printf和很多其他函数实际上也会返回一个值。
However, Vimscript functions always return a value, so if no return is specified, the function automatically returns zero.
然而,Vimscript函数始终返回一个值,因此如果没有指定任何return,那么函数将自动返回0。
The first mistake that nonnative speakers make is to return a value indicating an error, instead of throwing an exception.
非原生语言使用者的第一类错误是返回一个表示错误的值,而不是抛出异常。
In this code, you can't return a value, so you must add the newly created toppings panel to the parent as part of this method.
在这段代码中,不能返回值,因此必须将新创建的Toppings面板作为此方法的一部分添加到父面板中。
As with other traditional functional languages, Scala requires that functions (in this case a method) must always return a value.
与其他传统函数语言一样,Scala要求函数(在本例中为一个方法)必须始终返回一个值。
In many cases, if not all, you want to generate your own faults when errors happen; otherwise, the Web service cannot return a value.
在很多情况下(即便不是所有的情况),您都希望在错误发生时生成自己的故障,否则Web服务无法返回值。
These are parameters that can both receive a value for input and return a value for output. For example, consider the following class.
有些参数既可以接收输入值,也可以返回输出值。
Static methods that merely accept an argument or two, perform a calculation, and return a value based on nothing but those arguments are ideal.
仅接受一两个实参、执行计算,并仅依据那些实参返回值的静态方法是理想的。
In this class, you manipulate the server data and return a value to the client (or throw an exception, but let's stay optimistic for the moment).
在这个类中,将操作服务器数据并将值返回给客户机(或者抛出异常,但是此刻先让我们乐观一些认为不会出现这种情况)。
Within the method, you can either return a value or manipulate the form in memory directly. The following is an example of the evaluate method.
在该方法中,可以返回值或直接在内存中操作表单。
And so while you needed expressions for math to work, there was no point in making anything else return a value, because there could not be anything waiting for it.
所以,如果你需要用数学式子计算一个值,那就只有用表达式返回这个值,没有其他语法结构可用,因为否则就无法处理这个值。
And so while you needed expressions for math to work, there was no point in making anything else return a value, because there could not be anything waiting for it.
所以,如果你需要用数学式子计算一个值,那就只有用表达式返回这个值,没有其他语法结构可用,因为否则就无法处理这个值。
应用推荐