Functions and CALL Routines

BXOR Function



Returns the bitwise logical EXCLUSIVE OR of two arguments
Category: Bitwise Logical Operations

Syntax
Arguments
Examples

Syntax

BXOR(argument-1, argument-2)


Arguments

argument-1, argument-2

are numeric, nonnegative, and nonmissing. Separate the arguments with a comma.

Range: 0 to the largest 32-bit unsigned integer

Examples

SAS Statements Results
x=bxor(03x,01x);
put x=hex.;
 
x=00000002

space
Previous Page | Next Page | Top of Page