在C中的赋值表达式的结果是什么?
对于浮点变量的操作只限于简单的赋值表达式和作为VUE函数的变量。
Operations for floating point variables are limited to simple assignment expressions and as arguments to VUE functions.
大家总是有可能想试试把方括号在赋值表达式的等号左侧,试图去更改字符串中的某一个字符。比如。
It is tempting to use the operator on the left side of an assignment, with the intention of changing a character in a string. For example.
通过执行成员赋值表达式 %htm:input.\input/reviewer% 来确定任务的所有者。
Execution of the staff assignment expression %htm:input.\input/reviewer%
这是本例子第一次把关联作为一个定义表达式(换句话说,一个赋值语句)的声明性陈述来使用,而不是用它作模型到模型的映射。
This is the first time that this example is using a relation as a declarative statement to define an expression (in other words, a value assignment) instead of using it for model-to-model mapping.
例如你要写一句赋值语句,你可以声明任何类型的变量,在等号的左边使用任何标识符,然后在右边给出任何的表达式。
In writing an assignment statement, for example, you can declare variables of any type, use any identifier to the left of the equal sign, and supply any expression on the right.
如果产生了异常,那么就会对那个限定了作用域的变量进行赋值:如清单18中的EL表达式所显示的那样,该变量的值将不会为空。
If an exception was raised, then assignment to the scoped variable will occur: as the EL expression in Listing 18 suggests, its value will not be empty.
这会导致其他操作数也被转换成64位的类型,这样在对表达式进行赋值时就不需要再进行转换了。
This will cause the other operands to be promoted to 64-bits and no further conversion is needed when the expression is assigned.
赋值中的表达式访问变量的未初始化部分。
The expression in an assign accesses an uninitialized part of a variable.
只有在赋值和调用时,表达式才应被当作一条单独的语句。
The only expressions that should be used as statements are assignments and invocations.
当一个表达式被赋值时,每个操作符将会被应用于其周围所有项所代表的数值。
When an expression is evaluated, each operator is applied to the data values represented by the surrounding terms.
当一个程序运行时,完成表达式中指定操作的过程被称为赋值。
When a program is run, the process of carrying out each of the specified operations in an expression is called evaluation.
EcmaScript组件只提供核心语言功能 --原始数据类型、表达式赋值和流量控制等等。
The EcmaScript component offers only the core language features -- the primitive data types, expression evaluation, flow control, etc.
另外一种解决方案是对整个表达式进行转换,这样就可以在赋值时进行符号扩展。
Another solution is to cast the entire expression such that sign extension occurs on assignment. For example, consider the problem caused by the following.
在执行表达式时,计算表达式并将结果赋值给模式。
When the expression is executed, the expression is evaluated, and the results assigned to the pattern.
像上面一样的表达式应该避免。当有歧义时,将一个复杂的表达式分解成多个陈述以保证赋值的顺序是正确的。
Expressions like the one above must be avoided. When in doubt, break a large expression into multiple statements to ensure that the order of evaluation is correct.
ExtractLocalVariable重构取出一段被直接使用的表达式,然后将这个表达式首先赋值给一个局部变量。
The Extract local variable refactoring takes an expression that is being used directly and assigns it to a local variable first.
$total被赋值为一个FLWOR表达式的结果。
如果在表达式中混合使用无符号和有符号的32位整数,并将其赋值给一个有符号的long类型,那么将其中一个操作数转换成64位的类型。
In cases where unsigned and signed 32-bit integers are mixed in an expression and assigned to a signed long, cast one of the operands to its 64-bit type.
就像前面语句中n1 +n2这个表达式一样,这次也是通过一条含有+的表达式来赋值的。
Just like the n1 + n2 expression from the previous statement, this value is given by an expression involving the + operator.
等号可以完成与赋值箭头 (assignment arrow)相同的功能,但是只能用于最高层次范围,不能用于嵌套的表达式。
The equal sign does the same thing as the assignment arrow, but may only be used at the top-level scope, not also in nested expressions.
Lua允许使用多种赋值语句,可以先对表达式进行求值,然后再进行赋值。
Lua allows multiple assignments, and expressions are evaluated first and are then assigned. For example, the statements
和表达式一样,避免写复杂的模板语句。常规是函数调用或者属性赋值。
As with expressions, avoid writing complex template statements. A method call or simple property assignment should be the norm.
一般来讲,你可以用条件表达式来替换掉条件语句,无论这些语句的分支是返回语句或者是赋值语句。
In general, you can replace a conditional statement with a conditional expression if both branches contain simple expressions that are either returned or assigned to the same variable.
方括号内的表达式是一个元组。我们可以用元组赋值语句来遍历这个字典。
The expression in brackets is a tuple. We could use tuple assignment to traverse this dictionary.
上下文是简单的变量和表达式所需的函数,将返回一个值,并且赋值给标识,包括在符号表中的。
A context is simply the variables and functions that are needed by the expression to return a value, and are assigned to the identified included inside the Symbol Table.
增加,在表达式中对只读变量进行赋值的错误消息。
Added error message when assigning to a read-only var in an expression.
你有一个临时变量,只被一个简单表达式赋值一次,而它妨碍了其他重构手法。
You have a temp that is assigned to once with a simple expression, and the temp is getting in the way of other refactorings.
在赋值操作符前将长表达式截断。
如果相应语句为某个表达式赋值,请用一个可写的变量、属性或数组元素替换该表达式。
If the statement assigns a value to an expression, replace the expression with a single writable variable, property, or array element.
应用推荐