Project

General

Profile

$and » History » Version 5

Per Amundsen, 06/27/2014 02:29 PM

1 1 Per Amundsen
_Added in 1.9.0_
2
3 4 Per Amundsen
*$and(A,B)*
4 1 Per Amundsen
5
Returns binary A & B.
6 5 Per Amundsen
7
Both parameters can be 64 bit longs.
8 1 Per Amundsen
9 4 Per Amundsen
*Parameters*
10
11
A - First number.
12
B - Second number.
13
14
*Example*
15
16 1 Per Amundsen
<pre>
17 4 Per Amundsen
;Returns 4
18
//echo -ag $and(5,4) 
19 3 Per Amundsen
</pre>