Futurebasic/Language/Reference/nand

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

NAND[edit | edit source]

Syntax[edit | edit source]

result& = exprA {NAND | ^&} exprB

Description[edit | edit source]

Expression exprA and expression exprB are each interpreted as 32-bit integer quantities. The NAND operator sets each bit in result when the bit in exprA is set and the corresponding position in expB is cleared. This can be thought of as a NOT AND expression. The result is another 32-bit quantity; each bit in the result is determined as follows:

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

See Also[edit | edit source]

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