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