assign a value
基本解释
- 分配一个值;赋值
英汉例句
- Then we closed trading in the market, and asked the kids to assign a value to the gift they wound up with.
那么我们结束了交易,问孩子给他们所兴奋的糖果给出评分。 - To accomplish these objectives, we need to make only one rule in our programming: Assign a value to a variable only once and NEVER MODIFY IT!
为了达成这些目标,我们只需要在程序设计中制定一个规则:一个变量只赋值一次,而且永远不再修改它! - While you can hardcode the value for this attribute, it?s probably most useful when you programmatically assign a value to this attribute based on a certain logic in the code.
虽然您可以为这个属性设置固定的值,但是可能最有用的方式是,根据代码中的逻辑、以编程的方式给这个属性赋值。 - - And here as promised is that other operator -- looks a little weird, but because assignment is already using the equal sign to assign one value on the right to a variable on the left.
在这里正像所承诺的那样,其他的操作-,看起来有点怪异,但是因为“=“已经被用来当赋值运算符了,用来把右边的一个值赋值给左边的变量。
哈佛公开课 - 计算机科学课程节选 - You got to assign a dollar value to know whether you want to prevent those deaths by banning the use of cell phones in cars.
你必须用金钱来衡量,是否需要禁止司机使用手机,来避免此类事件发生。
耶鲁公开课 - 公正课程节选 - I assign it a value of 2.
并把它赋值为。
哈佛公开课 - 计算机科学课程节选 - Another way of projecting the market is to assign a value for each market sector.
FORBES: Economic Consequences Of Euro Land's Flame-Out