IOR() Function - Bitwise Logical OR
Syntax
IOR(string,string{,ERR=lineref})
Description
The IOR() function inclusive ORs the bits of the two string arguments and returns a string. Both string arguments must be the same length. The following rules describe the IOR() function:
Argument |
|
Result |
0 IOR0 |
= |
0 |
0 IOR1 |
= |
1 |
1 IOR0 |
= |
1 |
1 IOR1 |
= |
1 |
Examples
1010 LET Z$=IOR($53$,$1C$)
Where: |
$53$ = 01010011 |
|
$1C$ = 00011100 |
Then: |
Z$ = $5F$ = 01011111 |
See Also
AND() Function - Bitwise Logical AND
Functions - Alphabetical Listing