|
|||||
Related Concepts | ||
operator |
difference |
Return type: Integer
Returns: A new bit sequence.
Syntax
numeric-expression difference numeric-expression
The difference of two bit sequences is a new sequence where each bit is:
Other languages sometimes refer to this operation as a "bit-wise exclusive-or."
In this example, the action within the do
block is performed if c and d have any corresponding bits with the same value:
do when c difference d != 0 ... done
Related Concepts Bit-oriented arithmetic |
Copyright © Stilo International plc, 1988-2008.