FutureBasic Logo

<<    Index    >> FutureBasic

nor   operator



Syntax
result = exprA {nor^∣} exprB

Description
Expression exprA and expression exprB are each interpreted as 32-bit integer quantities. The nor operator sets each bit in result when the corresponding bits in both exprA and exprB are cleared or when the bit in exprA is set and the corresponding bit in exprB is cleared. This can be thought of as a not or expression.The result is another 32-bit quantity; each bit in the result is determined as follows:

Bit Value in exprBit Value in exprBit Value in expr
000
101
010
111

See also
and; &&; nand; not; xor; or; Appendix D - Numeric Expressions