$and » History » Version 4
Per Amundsen, 02/17/2014 09:19 AM
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 | 4 | Per Amundsen | Both parameters can be 64 bit. |
7 | 1 | Per Amundsen | |
8 | 4 | Per Amundsen | *Parameters* |
9 | |||
10 | A - First number. |
||
11 | B - Second number. |
||
12 | |||
13 | *Example* |
||
14 | |||
15 | 1 | Per Amundsen | <pre> |
16 | 4 | Per Amundsen | ;Returns 4 |
17 | //echo -ag $and(5,4) |
||
18 | 3 | Per Amundsen | </pre> |