variable and algebraic expression 变量和代数表达式
Or, when editing code, type the expression first and use this refactoring to automatically create a new local variable to assign the result to.
或者,在编辑代码时,先键入此表达式并使用这种重构自动创建一个新本地变量来指定表达式的结果。
You can declare a local variable simply by creating an expression containing only the name of the variable, and assigning a value to it.
只需要创建一个仅包含变量名称的表达式,并为其指定一个取值,就可以声明一个局部变量。
The running program will evaluate the expression in Listing 1 twice, with the $exp variable set to and .
运行的程序将对清单 1 中的表达式进行二次求值,其中 $exp 变量分别被设置为 和 。
应用推荐