FutureBasic Logo

<<    Index    >> FutureBasic 5

nand   operator



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:

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

See Also:
and; nor; not; xor; or; Appendix D - Numeric Expressions