Chapter Contents

Previous

Next
BOR

BOR



Returns the bitwise logical OR of two arguments

Category: Bitwise Logical Operations


Syntax
Arguments
Examples

Syntax

BOR(argument-1,argument-2)

Arguments

argument-1,argument-2
are numeric, non-negative, and nonmissing. Separate the arguments with a comma.
Range: 0 to the largest 32-bit unsigned integer


Examples

SAS Statements Results
x=bor(01x,0F4x);
put x=hex.;
 
x=000000F5


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.