Bundt Scripting Reference
·
Bundt Scripting Language version 1.0.1.0
& (and)
operator
The and operator & performs a Boolean AND 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 AND'ed.
|
BooleanExpression2 |
Expression<Boolean> |
Specifies the second Boolean value to be AND'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