[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FN_AND()
Perform a bitwise AND
------------------------------------------------------------------------------
Syntax
fn_and( <nInt1>, <nInt2> ) -> nResult
Arguments
<nInt1> may either be a numeric integer, or a 16-bit character string
that is the binary representation of a numeric integer.
<nInt2> must be a numeric integer.
Returns
<nResult>, a numeric.
Description
The value returned is obtained by performing
a bitwise AND with Int1 and Int2 as operands.
If any parameters are invalid, the function
will return zero.
Examples
nX := 11
nNum := fn_and( nX, 12 )
? nNum // 8
Source: N:\SRC\MISC\FNAND.ASM
Author: Ted Means
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson