循环变量 英语是什么意思 - 英语翻译

loop variable
循环变量
一个循环变量

在 中文 中使用 循环变量 的示例及其翻译为 英语

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
循环变量v是一个循环内部的局部变量;.
The loop variable v is local to the loop;.
省略了“表达式1(循环变量赋初值)”,表示不对循环控制变量赋初值。
Omit“Expression 1(loop variable initial value)”, indicating that no initial value is assigned to the loop variable..
简单的在循环变量时将var变成let,能够很好的运行:.
Simple in the loop variable will var become let, can run well:.
省略“表达式3(循环变量增量)”,不做其他处理,循环一直执行(死循环)。
Omitting“Expression 3(loop variable increment)”, no other processing, the loop is always executed(infinite loop)..
简单的在循环变量时将var变成let,能够很好的运行:.
It is simple to turn Var into a let in the loop variable, which works well:.
表达式3是循环变量的步进值,定义控制循环变量每循环一次后按什么方式变化。
Expression 3 is the step of the loop variable The value defines how the control loop variable changes after each iteration.
循环变量应该for里面声明,除非有令人信服的理由不这样做:.
Loop variables should be declared in the for statement itself unless there is a compelling reason to do otherwise:.
因为不用担心循环变量、条件和其他任何东西,它会处理所有迭代的问题。
We don't have to worry about looping variable, conditions or anything else, it will take care of all the matters for iterating.
不必担心循环变量、条件和其他任何东西,它会处理所有迭代的问题。
We don't have to worry about looping variable, conditions or anything else, it will take care of all the matters for iterating.
然而,应避免但字符名称,除非是临时性变量或循环变量
However, one-character names should be avoided, except for temporary and looping variables.
表达式1可以是设置循环变量的初值的赋值表达式,也可以是其他表达式。
Expression 1 can be anassignment expression that sets the initial value of a loop variable, or it can be another expression.
因此,sed脚本对应于循环体,循环体遍历流的行,其中循环本身和循环变量(当前行号)是隐式的并由sed维护。
Thus a sed script corresponds to the body of a loop that iterates through the lines of a stream,where the loop itself and the loop variable(the current line number) are implicit and maintained by sed.
For(定义循环变量;控制条件;改变循环变量){代码块;}.
For( definition of the control variable; loop repetition condition; changes in the control variable)..
同样,我还将循环变量直接命名为i,无任何额外的说明。
As well, I simply called the loop variable, without any extra comment, i.
然而,应避免但字符名称,除非是临时性变量或循环变量
One-character variable names should be avoided except fortemporary variables and loop indices.
它们以我们编造的任意表达式开始,它使用一个循环变量(x+10)。
They begin with an arbitrary expression, which uses a loop variable(in our case it is x+ 10).
如果你之前写过for循环,那么你一定使用过i++来增加你的循环变量
If you have written a for-loop before,then you have almost definitely used i++ before to increment your loop variable.
Foreach命令实现一个循环,在这里循环变量从一个或多个列表接受值。
The foreach command implements a loop where the loop variable(s) take on values from one or more lists.
它看起来像一个普通表达式,后面跟一个for定义循环变量、范围和可选的子句if条款。
It looks like a normal expression followed by a for clause defining a loop variable, range, and an optional if clause.
请注意:所有的”for”循环结构都允许我们在循环的内部来定义循环变量,比如此处的letkey。
Note that all“for” constructs allow us to declare the looping variable inside the loop, like let key here.
在比较强大的系统上,交换循环变量j和k就能带来10倍的性能改进。
On a powerful system swapping the j and k for loops can result in a 10x improvement.
它看起来像一个正常表达式,后面跟着一个for表达式,定义一个循环变量,范围和可选的if表达式。
It looks like a normal expression followed by a for expression defining a loop variable, range, and an optional if expression.
一定要记着在循环体中改变循环变量的值,否则会出现死循环(无休止的执行);
Must remember to change the value of the loop variable in the loop body, otherwise, there will be an infinite loop(endless execution).
Python2时,listcomprehension会"泄露"循环控制变量到外边:.
In Python 2, the list comprehension"leaks" the loop control variable into the surrounding scope:.
For(循环控制变量初始化;循环控制条件;变量变化情况).
For( definition of the control variable; loop repetition condition; changes in the control variable).
在for循环主体中使用时,continue将使循环控制变量自动增加。
When used in the body of a for loop, continue will cause the loop control variable to be automatically incremented.
这些变量不是循环的局部变量,也就是说,它们与for循环所处的范围相同。
Variables declared with var are not local to the loop, i.e. they are in the same scope the for loop is in.
如果你在程序的其他地方需要使用循环控制变量,你就不能在for循环中声明它。
If you need to use the loop control variable elsewhere in your program, you will not be able to declare it inside the for loop..
其中,循环体的初始化部分(initialization)设置循环变量并为变量赋初始值。
In its most common form,the initialization portion of the loop sets a loop control variable to an initial value.
它通常将循环控制变量与目标值相比较。
It usually tests the loop control variable against a target value.
结果: 163, 时间: 0.0177

单词翻译

顶级字典查询

中文 - 英语