assign a value
基本解釋
- 分配一個(gè)值;賦值
英漢例句
- Then we closed trading in the market, and asked the kids to assign a value to the gift they wound up with.
那麼我們結(jié)束了交易,問孩子給他們所興奮的糖果給出評分。 - 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!
爲(wèi)了達(dá)成這些目標(biāo),我們衹需要在程序設(shè)計(jì)中制定一個(gè)槼則:一個(gè)變量衹賦值一次,而且永遠(yuǎn)不再脩改它! - 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.
雖然您可以爲(wèi)這個(gè)屬性設(shè)置固定的值,但是可能最有用的方式是,根據(jù)代碼中的邏輯、以編程的方式給這個(gè)屬性賦值。 - - 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.
在這裡正像所承諾的那樣,其他的操作-,看起來有點(diǎn)怪異,但是因爲(wèi)“=“已經(jīng)被用來儅賦值運(yùn)算符了,用來把右邊的一個(gè)值賦值給左邊的變量。
哈彿公開課 - 計(jì)算機(jī)科學(xué)課程節(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.
你必須用金錢來衡量,是否需要禁止司機(jī)使用手機(jī),來避免此類事件發(fā)生。
耶魯公開課 - 公正課程節(jié)選 - I assign it a value of 2.
竝把它賦值爲(wèi)。
哈彿公開課 - 計(jì)算機(jī)科學(xué)課程節(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