Parent Topic: Arithmetic Expressions
Bit Manipulation Functions
The following bit manipulation functions are available. They are accomplished by converting passed values to integers, performing the logical operation on all the bits, and converting back. 'not' operations should be followed by an 'and' to remove high bits.

    not (v1)                logical not
    and (v1,v2,...,vn)      logical and
    or  (v1,v2,...,vn)      logical inclusive or
    xor (v1,v2,...,vn)      logical exclusive or
where

    v1,v2,...,vn            are arithmetic elements, excluding
                            attribute variables.
example:

    #t = not(%1); #t= and(#t,255);   | to ensure only 8 bits

Parent Topic: Arithmetic Expressions
About PCI Help Gateway