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!
為了達成這些目標,我們只需要在程序設計中制定一個規(guī)則:一個變量只賦值一次,而且永遠不再修改它! - 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.
雖然您可以為這個屬性設置固定的值,但是可能最有用的方式是,根據(jù)代碼中的邏輯、以編程的方式給這個屬性賦值。 - - 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.
在這里正像所承諾的那樣,其他的操作-,看起來有點怪異,但是因為“=“已經(jīng)被用來當賦值運算符了,用來把右邊的一個值賦值給左邊的變量。
哈佛公開課 - 計算機科學課程節(jié)選 - 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.
你必須用金錢來衡量,是否需要禁止司機使用手機,來避免此類事件發(fā)生。
耶魯公開課 - 公正課程節(jié)選 - I assign it a value of 2.
并把它賦值為。
哈佛公開課 - 計算機科學課程節(jié)選 - Another way of projecting the market is to assign a value for each market sector.
FORBES: Economic Consequences Of Euro Land's Flame-Out