代入
だいにゅう
noun, suru verb
substitution; assignment (programming)
Conjugation
| Affirmative | Negative | |
|---|---|---|
| Present | 代入する | 代入しない |
| Present polite | 代入します | 代入しません |
| Past | 代入した | 代入しなかった |
| Past polite | 代入しました | 代入しませんでした |
| て form | 代入して | 代入しなくて |
| ている present | 代入している | 代入していない |
| ている polite | 代入しています | 代入していません |
| ている past | 代入していた | 代入していなかった |
| ている past polite | 代入していました | 代入していませんでした |
| Conditional ば | 代入すれば | 代入しなければ |
| Conditional たら | 代入したら | 代入しなかったら |
| Volitional | 代入しよう | — |
| Volitional polite | 代入しましょう | — |
| Potential | 代入できる | 代入できない |
| Passive | 代入される | 代入されない |
| Causative | 代入させる | 代入させない |
| Imperative | 代入しろ | 代入するな |
1.
substitution; assignment; plugging in a value
In mathematics, replacing a variable with a specific value. In programming, storing a value in a variable. A fundamental concept in both fields.
変数に値を代入する。
To assign a value to a variable.
xに3を代入すると、答えは10になる。
If you substitute 3 for x, the answer is 10.
この代入演算子は、右辺の値を左辺の変数に格納する。
This assignment operator stores the value on the right side into the variable on the left side.
USAGE:
Used in both mathematics and programming. In math, it means plugging a value into an equation. In programming, it means assigning a value to a variable using operators like = or :=.
COMMON COLLOCATIONS:
- 代入する (to substitute; to assign)
- 代入演算子 (assignment operator)
- 値を代入する (to assign a value)
- 代入式 (assignment expression)