About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
Last updated: Feb 11, 2025
CLEM expressions can be used to perform logical operations.
Function | Result | Description |
---|---|---|
|
Boolean | This operation is a logical conjunction and returns a true value if both COND1 and
COND2 are true. If COND1 is false, then COND2 is not evaluated; this makes it
possible to have conjunctions where COND1 first tests that an operation in COND2 is
legal. For example, and . |
|
Boolean | This operation is a logical (inclusive) disjunction and returns a true value if either COND1 or COND2 is true or if both are true. If COND1 is true, COND2 is not evaluated. |
|
Boolean | This operation is a logical negation and returns a true value if COND is false. Otherwise, this operation returns a value of 0. |
|
Any | This operation is a conditional evaluation. If COND is true, this operation returns the result of EXPR1. Otherwise, the result of evaluating EXPR2 is returned. |
|
Any | This operation is a multibranch conditional evaluation. If COND1 is true, this operation returns the result of EXPR1. Otherwise, if COND2 is true, this operation returns the result of evaluating EXPR2. Otherwise, the result of evaluating EXPR_N is returned. |
Was the topic helpful?
0/1000