Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Previous sectionNext section

Imp Operator

Used to perform a logical implication on two expressions.


result = expression1 Imp expression2


The Imp operator syntax has these parts:

result Any numeric variable.
expression1 Any expression.
expression2 Any expression.


The following table illustrates how result is determined:

If expression1 is If expression2 is The result is
True True True
True False False
False True True
False False True

See Also

FeedbackOpens in a new window