xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

NumAND()

Performs bitwise AND operations for a list of integer values.

Syntax

NumAND( <nInteger1|cHex1> , <nInteger2|cHex2> , ;
       [<...nIntegerN|cHexN>]) --> nInteger

Arguments

<nInteger1>...<nIntegerN>
A comma separated list of numeric 32-bit integer values must be passed. A minimum of two parameters is required.
<cHex1>...<cHexN>
Alternatively, the integers can be passed as hex-encoded character strings (see NumToHex()).

Return

The function performs a bitwise AND operation with the bits of all parameters, and returns the result as a numeric integer value.

Info

See also:& (bitwise AND), IsBit(), NumAndX(), NumNOT(), NumOR(), NumXOR(), SetBit()
Category: CT:NumBits , Bitwise functions , Numbers and Bits
Source:ct\bit1.c
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe