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?

否定演算子

否定演算子は、括弧内の条件の前、あるいは結合した関係演算子の前に使用します。

否定演算子
演算子 演算 例 (条件が True の場合)
'= 等しくない if (2 '= 3) || '(2 = 3) {write "unequal"}
'> より小さいか等しい(文字どおり “より大きくない”) if (2 '> 3) || '(2 > 3) {write "less than or equal"}
'< より大きいか等しい(文字どおり “より小さくない”) if (3 '< 3) || '(3 < 3) {write "greater than or equal"}
FeedbackOpens in a new tab