条件文

じょうけんぶん
Frequency:
1

A conditional sentence in grammar, expressing conditions (e.g., 'if... then...').

NounGrammar

Examples

日本語の条件文には「〜たら」「〜ば」「〜なら」などいくつかの表現がある。

Japanese conditional sentences have several expressions such as '~tara', '~ba', and '~nara'.

『雨が降れば試合は中止になる』は典型的な条件文だ。

'If it rains, the match will be canceled' is a typical conditional sentence.

条件文を使うと、未来の出来事を条件付きで述べられる。

Using conditional sentences, you can state future events under certain conditions.

2

A conditional statement in computing/programming: a construct that executes code when a condition is met (e.g., an if statement).

NounComputing

Examples

プログラム内で条件文(if文)を使って、入力の値に応じた処理を分岐させる。

Within a program, use conditional statements (if statements) to branch processing according to the input value.

この言語では、条件文の書き方が複数あり、それぞれ動作が少しずつ異なる。

In this language there are multiple ways to write conditional statements, and each behaves slightly differently.