Navigation:  Reference > Functions >

OR function

Print this Topic Previous pageReturn to chapter overviewNext page

Returns the result of the logical inclusive OR operation on the corresponding bits of two arguments. Both arguments are first truncated to integers; the result will always be an integer value. In C syntax, the result of OR(a,b) is equivalent to (floor(a) | floor(b)).

Example:

____________________________

See also:

AND function

NOT function

XOR function

 

 

 


Page url: https://www.dplot.com/help/index.htm?or.htm