BAND Function


BAND Function

Returns the bitwise logical AND of two arguments

Category: Bitwise Logical Operations

Syntax

band ( argument-1,argument-2 )

Arguments

argument-1,argument-2

  • are numeric, nonnegative, and nonmissing. Separate the arguments with a comma.

  • Range: 0 to the largest 32-bit unsigned integer

Examples

SAS Statements

Results

x=band(0Fx,05x);

 

put x=hex.;

x=00000005;




SAS 9.1 Language Reference Dictionary, Volumes 1, 2 and 3
SAS 9.1 Language Reference Dictionary, Volumes 1, 2 and 3
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 704

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net