What is the translation of " RETURN STATEMENT " in Chinese?

[ri't3ːn 'steitmənt]
[ri't3ːn 'steitmənt]
return语句
一个return语句

Examples of using Return statement in English and their translations into Chinese

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
There is no explicit return statement.
没有明确的return语句
When the return statement is encountered, the function will terminate.
遇到return语句后,该函数将会停止执行。
Function should contain return statement.
函数必须包含一个return语句.
A return statement with no arguments is the same as return None.
没有参数的return语句与returnNone相同。
A function can only have one return statement.
一个函数只能有一个return语句
But if there is a return statement, then the rule is simple:.
但是,如果有return语句,那么规则很简单:.
Also, it hoisted through a return statement:.
此外,它还通过一项return声明悬挂起来:.
A return statement can be used for returning only one value from a function.
Return语句可用于只从函数中返回一个值。
But what happens when we hit the return statement?
然而当我们到达return语句时会发生什么呢??
So, they must not contain a return statement or execute until the end of the code[3].
因此,它们不能包含return语句或者执行到代码结尾[3]。
The body of a function should have only one return statement.
函数体中必须有且仅有一条return语句.
By placing an instruction after a return statement, it ensures that it will never be executed.
返回语句后放一条指令确保了它不会被执行。
Line 6 is a new type of statement, called a return statement.
第6行是一种新类型的语句,称为return语句
A return statement in a lambda expression does not cause the enclosing method to return..
Lambda表达式中的返回语句不会导致封闭方法返回。
It does not need to contain a return statement, but it may do so.
它不需要包含一个return语句,但也可以这样做。
Otherwise, you might want to print the value of result before the return statement.
否则你可能想在return语句前打印结果检查一下。
The return statement has two forms: one that returns a value, and one that does not.
Return语句有两种形式:一种返回一个值,一个没有返回一个值。
One common mistake you canmake in defining a function is to forget the return statement.
一个在定义函数中的常见错误就是忘记return语句
A return statement in an anonymous function will return from the anonymous function itself.
匿名函数内部的return语句将从该匿名函数自身返回.
If a function definition includes a return type, the return statement must be followed by an expression.
如果函数定义包含返回类型,则return语句必须后跟表达式。
The return statement can transfer control out of a loop and return control to the calling method.
Return语句可以从一个方法返回,并把控制权交给调用它的语句。
The other addition to the language is a return statement which takes one argument and can appear anywhere within a procedure or function.
另一个增加的有用结构是return语句,它可以有一个参数,可以出现在过程或函数中的任何位置。
If no return statement is present, the main function(and thus, the program itself) returns 0 by default.
如果不存在return语句,则main函数(以及程序本身)默认返回0。
Likewise, a throw or return statement always transfer control elsewhere and never reaches its end point.
同样,throw或return语句始终将控制转到其他地方而从不到达它的结束点。
The return statement exits from the current method, and control flow returns to where the method was invoked.
Return语句从当前方法退出,并且控制流程返回到调用该方法的位置。
If the lambda body contains one return statement, the compiler deduces the return type from the type of the return expression.
如果lambda代码块中包含了return语句,则该lambda表达式的返回类型由return语句的返回类型确定。
A return statement with a value should not use parentheses unless they make the return value more obvious in some way.
一个带返回值的return语句不使用小括号”()”,除非它们以某种方式使返回值更为显见。
We have seen the return statement before, but in a fruitful function the return statement includes an expression.
之前我们已经见过return语句了,但是在一个有返回值的函数中,return语句包含一个表达式。
Using the return statement within the for loop ends the function, so the line that is outside of the loop will not run.
在for循环中使用return语句会结束该函数,因此循环外部的行将不会运行。
Instead, you need to use a return statement right after the Throw() and ThrowNew() functions to exit the native method at a point of error.
相反,需要在Throw()和ThrowNew()函数之后立即使用return语句,以便在出错点退出本机方法。
Results: 49, Time: 0.0264

Word-for-word translation

Top dictionary queries

English - Chinese