Chapter Contents

Previous

Next
BLSHIFT

BLSHIFT



Returns the bitwise logical left shift of two arguments

Category: Bitwise Logical Operations


Syntax
Arguments
Examples

Syntax

BLSHIFT(argument-1,argument-2)

Arguments

argument-1
is numeric, nonnegative, and nonmissing.
Range: 0 to the largest 32-bit unsigned integer

argument-2
is numeric, nonnegative, and nonmissing.
Range: 0 to 31, inclusive


Examples

SAS Statements Results
x=blshift(07x,2);
put x=hex.;
 
x=0000001C


Chapter Contents

Previous

Next

Top of Page

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