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?

Xor 演算子

2 つの式の排他的論理和を求めます。

Synopsis

result = expression1 Xor expression2

引数

Xor 演算子の構文には以下の構成部分があります。

result 任意の数値変数
expression1 任意の式
expression2 任意の式

概要

result は以下の表に従って決定されます。

expression1 の評価 expression2 の評価 result
True True False
True False True
False True True
False False False

関連項目

FeedbackOpens in a new tab