| Functions and CALL Routines |
| Category: | Bitwise Logical Operations |
| Syntax | |
| Arguments | |
| Details | |
| Examples |
Syntax |
| BNOT(argument) |
specifies a numeric constant, variable, or expression.
| Range: | between 0 and (232)-1 inclusive |
| Details |
If the argument contains a missing value, then the function returns a missing value and sets _ERROR_ equal to 1.
| Examples |
| SAS Statements | Results |
|---|---|
x=bnot(0F000000Fx); put x=hex.; |
x=0FFFFFF0 |
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.