Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space WDESIGNER and version 24.0

The following boolean operators can be used when defining conditions, for instance at decision points or in boolean expressions:

  • and
  • or

Examples

Code Block
none
none
set aBoolean = b1 or b2;
set s = condition (b1 and b2, "abc", "xyz");

Short-Circuiting

The boolean operators of the Designer support short-circuiting. This means that the second operand is evaluated only when the result is not fully determined by the first operand.

For instance, you can use the following guard expression for a decision:

Code Block
none
none
aString.exists() and aString like "Hello World!";

If aString has not been created yet, the second operand aString like "Hello World!" will not be evaluated.

Panel
titleOn this Page:
Table of Contents
OtpFloatingfalse