Functions and CALL Routines |
Returns the bitwise logical AND of two arguments.
Category: |
Bitwise Logical Operations
|
band(argument-1,argument-2)
|
-
argument-1, argument-2
-
specifies a numeric constant, variable,
or expression.
Range: |
between 0 and (232)-1
inclusive |
If either argument contains a missing value, then the
function returns a missing value and sets _ERROR_ equal to 1.
SAS Statements |
Results |
x=band(0Fx,05x);
put x=hex.;
|
x=00000005
|
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.