Bundt Scripting Reference · Bundt Scripting Language version 1.0.1.0

| (or) operator

The or operator | performs a Boolean OR operation of its operands.

This operator applies to Boolean values only.

Syntax

BooleanExpression1 | BooleanExpression2

Element Type Notes
BooleanExpression1 Expression<Boolean> Specifies the first Boolean value to be OR'ed.
BooleanExpression2 Expression<Boolean> Specifies the second Boolean value to be OR'ed.

Examples

Intent Code
Write out the result of a compound Boolean expression write (12 > 7) | (13 < 9);

See Also


Contents distributed under a Creative Commons Attribution 4.0 International License · About · Terms of Use · Contact Us · last updated on 08 October 2020