NUMANDX()
$SYNTAX$
- Arguments
-
- <SignificativeBits> Designate a number in the range of 0 to 32, indicating the LSB of nLONGx|cHexLONGx that will be used.
- <nLONG | cHexLONG> Designate either decimal or hexadecimal number string.
- Returns
-
- NUMANDX() join all designated parameters with the logical "AND" and return the result.
- Description
-
- This function is similar to NUMAND() function with a significative change. The first parameter indicate the quantity of lower bits of nLONG are used. If MSB of the result is ON the number is considerate a negative number. In other words, if <nSignificativeBits> = 16, nResult return a number between -32768 and 32767; if <nSignificativeBits> = 8, nResult return a number between -128 and 127.
- TODO: add documentation
- Status
-
- Started
- Compliance
-
- NUMANDX() is a new function in the CT3-library for Harbour.
- Platforms
-
- All
- Files
-
- Source is bit3.c, library is libct.
- See Also