$or » History » Version 2
Per Amundsen, 12/24/2019 12:47 PM
1 | 2 | Per Amundsen | _Added in 1.9.0_ |
---|---|---|---|
2 | |||
3 | 1 | Per Amundsen | *$or(A,B)* |
4 | |||
5 | Returns A binary "OR":https://en.wikipedia.org/wiki/Bitwise_operation#OR B. |
||
6 | |||
7 | *Parameters* |
||
8 | |||
9 | A - The A binary to "OR":https://en.wikipedia.org/wiki/Bitwise_operation#OR against. |
||
10 | B - The B binary to "OR":https://en.wikipedia.org/wiki/Bitwise_operation#OR. |
||
11 | |||
12 | *Example* |
||
13 | |||
14 | <pre> |
||
15 | : Or '5' against '3'. |
||
16 | //echo -ag $or(5,3) |
||
17 | </pre> |