< Futurebasic < Language < Reference

NAND

Syntax

result& = exprA {NAND | ^&} exprB

Description

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

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

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.