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 - Hard to say, since it's next to impossible to assign a value to half-finished projects.
FORBES: The Money Men: Hodson's choices - This way, GenJam can assign a value to each section of the tune.
ECONOMIST: Musical computers 返回 assign a value