[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FN_XOR()
Perform a bitwise exclusive OR
------------------------------------------------------------------------------
Syntax
fn_xor( <nInt1> | <cInt1>, <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 XOR
with <nInt1> and <nInt2> as operands. If any parameters are
invalid, the function will return zero.
Examples
? fn_xor( 11, 12 ) // 7
Source: N:\SRC\MISC\FNXOR.ASM
Author: Ted Means
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson