The IEOR function performs a bit-wise logical exclusive OR operation on two integer arguments.

## Syntax

IEOR (i,j)

*i* is an INTENT(IN) scalar or array of type INTEGER.

*j* is an INTENT(IN) scalar or array of type INTEGER and is the same kind as *i*.

The result is of type INTEGER. Its value is obtained by performing a bit-wise logical exclusive OR operation on *i* and *j*.

## Example

i=53 ! i=00110101 binary (lowest order byte) j=45 ! j=00101101 binary (lowest order byte) k=ieor(i,j) ! k=00011000 binary (lowest order byte) ! k=24 decimal