Or 演算子
2 つの式の論理和を求めます。
Synopsis
result = expression1 Or expression2
引数
Or 演算子の構文には以下の構成部分があります。
result | 任意の数値変数 |
expression1 | 任意の式 |
expression2 | 任意の式 |
概要
式のどちらか一方または両方が True に評価される場合、result は True になります。以下の表は、result がどのように判定されるかを示しています。
expression1 の評価 | expression2 の評価 | result |
---|---|---|
True | True | True |
True | False | True |
False | True | True |
False | False | False |
関連項目
Purpose of this instance: Draft documentation
DocReleaseID: Core2018.1j
Content loaded from:
/staging/ce/2018.1.2/doc/cache/ja-jp/src/
/staging/ce/2018.1.2/doc/ensemble/ja-jp/src/
/staging/ce/2018.1.2/doc/isp/ja-jp/src/
/staging/learning/zenmojo-doc/ja-jp/src/