Previous Page | Next Page

Functions and CALL Routines

BOR Function



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

Syntax
Arguments
Details
Examples

Syntax

BOR(argument-1,argument-2)


Arguments

argument-1, argument-2

specifies a numeric constant, variable, or expression.

Range: between 0 and (232)-1 inclusive

Details

If either argument contains a missing value, then the function returns a missing value and sets _ERROR_ equal to 1.


Examples

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

Previous Page | Next Page | Top of Page