Literally, return the control from this function, and take the value of the next expression, and return that as the value of the whole computation.
正如字面意义上说的,从这个函数返回,然后取得下一个表达式的值,并把这个值作为整个计算的结果返回。
If you return a null array, the clients of the code must write extra code to check whether the return value is null (as shown in Listing 13).
如果您返回零数组,该代码的客户端必须编写额外的代码来检查返回值是否为零(如清单13所示)。
A method that returns a value must have a return statement that specifies the result. Methods may return values of any type.
一个有返回值的方法必须包含一条返回语句指明返回结果。方法可以返回任何类型的结果。
And since example 2 does not have a return value labeled, the sequence does not return a value (presumably, the sequence being modeled does not need the return value).
因为例子2没有返回值标签,序列不返回值(假设,建模的序列不需要返回值)。
This is useful if you don't have much data to enter for the return value, or when the return values can't be computed.
如果对于返回值没有较多要输入的数据,或者返回值无法计算时,此类型的模拟非常有用。
Return values are optionally indicated using a dashed arrow with a label indicating the return value.
返回值可以使用带有表明是返回值标签的虚线箭头表示。
Use this method to obtain the return value of the RPC when RPC is declared with return value.
如果RPC声明了返回值,那么使用该方法来获取RPC的返回值。
While the condition is specified before return, it is actually executed after the return value is computed but before the execution is handed to the caller.
虽然似乎在返回结果之前就指定了条件,实际它还是会在返回结果之后,调用者得到结果之前进行验证。
ERANGE — You've called a function, and the return value is too large to be represented by the return type.
ERANGE:您已调用函数,但返回值太大而无法通过返回类型来呈现。
There also the compiler ensures that the return value of EndInvoke is the same as the return value of the delegate type (this type is an int in our example).
编译器同时也会确保EndInvoke返回值类型和委托返回类型一致(在我们的例子中,这个类型是int)。
Similarly, around advice can declare a return value (" void "above), which requires any join point have the same return value.
类似地,around通知可以声明一个返回值上面的“void”,要求所有链接点具有同样的返回值。
You load register 3 with the return value and perform the function epilogue to restore the stack frame and return.
需要用返回值加载寄存器3并执行函数尾声(epilogue)来恢复堆栈框架并返回。
Then, when that method returns, the adapter method can convert the return value to one of the four XPath types and return that.
随后,方法返回时,适配器方法可将返回值转换为四种xpath类型之一,然后再返回转换后的值。
If a return value is not otherwise specified, the default return value for a function is int.
如果返回值没有指定,那么函数的缺省返回值是int类型的。
Sybase and Microsoft SQL Server procedures that return a result set always return 0 as the integer return status, the actual status value is ignored.
返回结果集的Sybase 过程总是返回0作为整数返回状态,实际的返回状态值被忽略。
The return type of “Table” should be used if you want to return more than one row or value.
如果要返回多个行或值,则应该使用返回类型“Table”。
The following example annotates the return value of a function. This is useful for checking the return type of a function.
如下的示例则注释了某函数的返回值。
To have the rule return the value of the effect, the associated condition must return True.
为了让规则返回effect的值,关联条件必须返回True。
However, Vimscript functions always return a value, so if no return is specified, the function automatically returns zero.
然而,Vimscript函数始终返回一个值,因此如果没有指定任何return,那么函数将自动返回0。
The showopts function analyzes the options as before, but USES the return statement to return the value of the OPTIND variable to the calling statement.
showopts函数像以前一样分析选项,但是使用return语句将OPTIND变量的值返回给调用语句。
If yield occurs, return must only occur without any accompanying return value.
如果yield发生,return一定只发生在没有伴随任何返回值的情况中。
Arg1 is the return value from the function being probed for return probe.
arg1是要探测的函数的返回值,用于退出探测。
In Figure 15, the DAY variable is used in the last Invoke of this EOperationImpl: a get whose return value is assigned to variable result (the return Ref of our implementation).
在图15中,DAY变量用于这个EOperationImpl的最后一个Invoke:一个get,其返回值被分配给变量result(我们的实现的ReturnRef)。
It then pushed the return (ret) value, which tells function1 where to return to in main once function1 is done.
之后它压入return (ret)值,这个值在function1完成时告诉function1返回到main中的何处。
The return value of the function is specified with a return statement.
函数返回值使用return语句指定。
For internal software projects, return is either calculated in terms of the 'Net Present Value' of the project, or in terms of an internal rate of return.
对内部软件项目来说,收益或是以项目的‘净现值’计算,或是以内部收益率计算。
In the case of the internal rate of return calculation, a net present value of zero is assumed, and the internal rate of return needed to produce this is computed.
在对内部收益率的计算中,净现值被设为零,要计算的是使净现值为零的内部收益率。
And you don't need a comment before the return statement saying, "Now we return a value," either.
同样,在返回语句之前也不需要使用类似“Nowwereturn a value”这样的注释。
The return value expression must start on the same line as the return keyword in order to avoid semicolon insertion.
如果返回表达式,则表达式应与return关键字在同一行,以避免误加分号错误。
The return value expression must start on the same line as the return keyword in order to avoid semicolon insertion.
如果返回表达式,则表达式应与return关键字在同一行,以避免误加分号错误。
应用推荐