Bitstring function – OR.
This page describes the legacy function $ZBITOR
. It is described here for compatibility with legacy applications.
returns a bitstring formed by the (bitstring1 OR bitstring2
) operation. The length of the resulting bitstring equals the longer length of the two bitstrings. The value of the resulting bitstring is 1 in all positions where either or both of the bitstrings held a 1, and 0 in all other positions. Bitstrings are compared left-to- right.
=[0,0,1,1,0] and bitstring2
=[0,1,1,0], then the result of $ZBITOR
would be [0,1,1,1,0]. That is:
Position 5: 0 OR
null = 0