Futurebasic/Language/Reference/nor

From Wikibooks, open books for an open world
Jump to navigation Jump to search

NOR[edit | edit source]

Syntax[edit | edit source]

result& = exprA {NOR | ^|} exprB

Description[edit | edit source]

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:

INSERT IMAGE HERE!!!! <img src="n/NOR_operator02.gif" alt="IMAGE imgs/NOR_operator02.gif" width=206 height=128>

See Also[edit | edit source]

AND; NAND; NOT; XOR; Appendix D: Numeric Expressions