Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.Opens in a new tab

For information on migrating to InterSystems IRISOpens in a new tab, see Why Migrate to InterSystems IRIS?

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

関連項目

FeedbackOpens in a new tab